mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-04-23 03:52:17 +02:00
Fix typo which caused register names to be off by 7.
(Logical change 1.17)
This commit is contained in:
parent
21c000c080
commit
c528adf7c7
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ const char *
|
|||
unw_regname (unw_regnum_t reg)
|
||||
{
|
||||
if (reg < sizeof (regname) / sizeof (regname[0]))
|
||||
return regname[reg + 7];
|
||||
return regname[reg];
|
||||
else
|
||||
return "???";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue