1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-29 12:41:44 +02: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:
mostang.com!davidm 2003-01-23 10:04:09 +00:00
parent 6dbc6777a3
commit 31fbd34d9c

View file

@ -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;