From 01e76548c346a734511f669b0ae382eaa4c74d82 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Tue, 8 Mar 2022 23:37:50 -0500 Subject: [PATCH] backtrace, put pc and sp on their own lines Change-Id: Ia5853c4f2d1b86dc1e2cd0882f5da27e4eba5724 --- lib/unwarminder/backtrace-unwarminder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);