summaryrefslogtreecommitdiffstats
path: root/lib/unwarminder
AgeCommit message (Collapse)AuthorFilesLines
2012-09-05unwarminder: make SP and PC visible on smaller screensMarcin Bukat1-1/+1
Change-Id: I78c0e6edb1ad097154885b9fa93d74616047cbc1
2012-06-07unwarminder: fix data_abort_handler (wrong address to UIE)Amaury Pouly1-1/+0
Change-Id: I060735363f2e408c42a8e11ac1f31dc96e3cb2d6
2012-05-28Use shorter lines to show an ARM backtrace (so address fit on the clip zip ↵Bertrik Sikken1-2/+2
screen) Change-Id: Ib36c09a44230fbaaa119f756367f98bdc7756983
2012-04-06arm: implement safe reads by intercepting the data abort handler.Amaury Pouly4-6/+181
Implement functions to read from a memory location and indicate failure in case this is not possible. Since we do not have a MMU, intercept the data abort handler and simply return when the abort comes from the safe read routines. Change-Id: I08f2e59898dcac893319a8150d4cf626f3adabbd Reviewed-on: http://gerrit.rockbox.org/207 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
2012-04-04arm: fix get_sp (missing return)Amaury Pouly1-0/+1
__get_sp is missing a return! I don't know how it ever worked. Use "bx lr" since it works in all cases (armp and thumb). Change-Id: I26011db333a8a5f96276be83e18da7507c501c38 Reviewed-on: http://gerrit.rockbox.org/206 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
2012-03-26build system: unify/simplify library handling a bit.Thomas Martitz1-7/+8
libs in $ROOT/lib now add to $(CORE_LIBS) and $(EXTRA_LIBS) and are automatically linked by the core and codecs/plugins respectively. Change-Id: Iff482c792a8c8142718f6a16a450c6e2f1497c9a
2012-03-02Fix sanity check in UnwStartThumb() using the wrong registerThomas Jarosch1-1/+1
cppcheck reported: [lib/unwarminder/unwarm_thumb.c:399] -> [lib/unwarminder/unwarm_thumb.c:399]: (style) Same expression on both sides of '&&'. Patch will also be sent to the upstream project. Change-Id: I57033f290135f4dc09ac7e9b07c31461bc5b471a Reviewed-on: http://gerrit.rockbox.org/157 Reviewed-by: Thomas Jarosch <tomj@simonv.com>
2012-02-22Arm stack unwinderMarcin Bukat15-0/+2555
Simplified stack unwinder for ARM. This is port of http://www.mcternan.me.uk/ArmStackUnwinding/ backtrace() is called from UIE() on native targets and from panicf() on both native and ARM RaaA. Change-Id: I8e4b3c02490dd60b30aa372fe842d193b8929ce0