summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-03-08 23:37:50 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2022-03-08 23:37:50 -0500
commit01e76548c346a734511f669b0ae382eaa4c74d82 (patch)
treed17781e2ab14a4fec587b48438dbfde0de0c8b08
parenta8b997e4e9ab6bae6f687def8568404c8aa4214b (diff)
downloadrockbox-01e76548c3.tar.gz
rockbox-01e76548c3.zip
backtrace, put pc and sp on their own lines
Change-Id: Ia5853c4f2d1b86dc1e2cd0882f5da27e4eba5724
-rw-r--r--lib/unwarminder/backtrace-unwarminder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/unwarminder/backtrace-unwarminder.c b/lib/unwarminder/backtrace-unwarminder.c
index 7808a1f2d7..e36557a07c 100644
--- a/lib/unwarminder/backtrace-unwarminder.c
+++ b/lib/unwarminder/backtrace-unwarminder.c
@@ -108,7 +108,8 @@ Boolean CliInvalidateW(const Int32 a)
void rb_backtrace(int pcAddr, int spAddr, unsigned *line)
{
- lcd_putsf(0, (*line)++, "pc:%08x sp:%08x", pcAddr, spAddr);
+ lcd_putsf(0, (*line)++, "pc:%08x", pcAddr);
+ lcd_putsf(0, (*line)++, "sp:%08x", spAddr);
lcd_update();
UnwindStart(pcAddr, spAddr, &cliCallbacks, (void *)line);