backtrace, put pc and sp on their own lines
Change-Id: Ia5853c4f2d1b86dc1e2cd0882f5da27e4eba5724
This commit is contained in:
parent
a8b997e4e9
commit
01e76548c3
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue