mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Use shorter lines to show an ARM backtrace (so address fit on the clip zip screen)
Change-Id: Ib36c09a44230fbaaa119f756367f98bdc7756983
This commit is contained in:
parent
112b80b0c2
commit
08f5224b1b
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ static Boolean CliReport(void *data, Int32 address)
|
|||
unsigned *line = (unsigned *)data;
|
||||
|
||||
|
||||
lcd_putsf(0, (*line)++, " %c: 0x%08x",
|
||||
lcd_putsf(0, (*line)++, " %c: %08x",
|
||||
(address & 0x1) ? 'T' : 'A',
|
||||
address & (~0x1));
|
||||
lcd_update();
|
||||
|
@ -110,7 +110,7 @@ void backtrace(int pcAddr, int spAddr, unsigned *line)
|
|||
{
|
||||
UnwResult r;
|
||||
|
||||
lcd_putsf(0, (*line)++, "bt pc: 0x%08x, sp: 0x%08x", pcAddr, spAddr);
|
||||
lcd_putsf(0, (*line)++, "bt pc: %08x, sp: %08x", pcAddr, spAddr);
|
||||
lcd_update();
|
||||
|
||||
r = UnwindStart(pcAddr, spAddr, &cliCallbacks, (void *)line);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue