mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-02-02 12:52:53 +01:00
(unw_get_save_loc): rotate_gr() expects a register number in the range r32-r127.
(Logical change 1.41)
This commit is contained in:
parent
6dbc6777a3
commit
31fbd34d9c
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ unw_get_save_loc (unw_cursor_t *cursor, int reg, unw_save_loc_t *sloc)
|
|||
}
|
||||
else if (reg >= 32)
|
||||
{
|
||||
reg = rotate_gr (c, reg - 32);
|
||||
reg = rotate_gr (c, reg);
|
||||
ret = ia64_get_stacked (c, reg, NULL, &loc);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue