mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-17 12:07:38 -04:00
ARM unwinder: Add missing 'register' variable in debug output
Also fix a wrong format specifier for an unsigned variable. Detected by cppcheck, patch submitted upstream. Change-Id: I9b84d91eeb242ed77b53ecc16252c5b35190bb9f
This commit is contained in:
parent
1589b28afc
commit
fa592cc725
1 changed files with 2 additions and 2 deletions
|
@ -308,7 +308,7 @@ UnwResult UnwStartArm(UnwState * const state)
|
||||||
|
|
||||||
if(shiftDist)
|
if(shiftDist)
|
||||||
{
|
{
|
||||||
UnwPrintd3("%s #%d",
|
UnwPrintd3("%s #%u",
|
||||||
shiftMnu[shiftType], shiftDist);
|
shiftMnu[shiftType], shiftDist);
|
||||||
}
|
}
|
||||||
UnwPrintd3("\t; r%d %s", rm, M_Origin2Str(state->regData[rm].o));
|
UnwPrintd3("\t; r%d %s", rm, M_Origin2Str(state->regData[rm].o));
|
||||||
|
@ -618,7 +618,7 @@ UnwResult UnwStartArm(UnwState * const state)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
UnwPrintd2(" R%d = 0x%08x\n", r);
|
UnwPrintd2(" R%d = 0x%08x\n", r, state->regData[r].v);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!P) addr += U ? 4 : -4;
|
if(!P) addr += U ? 4 : -4;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue