diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-03-08 23:37:50 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-03-08 23:37:50 -0500 |
commit | 01e76548c346a734511f669b0ae382eaa4c74d82 (patch) | |
tree | d17781e2ab14a4fec587b48438dbfde0de0c8b08 | |
parent | a8b997e4e9ab6bae6f687def8568404c8aa4214b (diff) | |
download | rockbox-01e76548c346a734511f669b0ae382eaa4c74d82.tar.gz rockbox-01e76548c346a734511f669b0ae382eaa4c74d82.zip |
backtrace, put pc and sp on their own lines
Change-Id: Ia5853c4f2d1b86dc1e2cd0882f5da27e4eba5724
-rw-r--r-- | lib/unwarminder/backtrace-unwarminder.c | 3 |
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) | |||
108 | 108 | ||
109 | void rb_backtrace(int pcAddr, int spAddr, unsigned *line) | 109 | void rb_backtrace(int pcAddr, int spAddr, unsigned *line) |
110 | { | 110 | { |
111 | lcd_putsf(0, (*line)++, "pc:%08x sp:%08x", pcAddr, spAddr); | 111 | lcd_putsf(0, (*line)++, "pc:%08x", pcAddr); |
112 | lcd_putsf(0, (*line)++, "sp:%08x", spAddr); | ||
112 | lcd_update(); | 113 | lcd_update(); |
113 | 114 | ||
114 | UnwindStart(pcAddr, spAddr, &cliCallbacks, (void *)line); | 115 | UnwindStart(pcAddr, spAddr, &cliCallbacks, (void *)line); |