1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-26 00:57:39 +01:00

(ia64_scratch_loc): Handle b6 like b7. Reported by Robert Faught.

(ia64_access_reg): Ditto.

(Logical change 1.21)
This commit is contained in:
mostang.com!davidm 2002-11-09 03:59:27 +00:00
parent 3f5161f47f
commit 6a0ac2b8a4

View file

@ -56,6 +56,7 @@ ia64_scratch_loc (struct ia64_cursor *c, unw_regnum_t reg)
break; break;
case UNW_IA64_BR + 0: loc += SIGCONTEXT_BR_OFF + 0; break; case UNW_IA64_BR + 0: loc += SIGCONTEXT_BR_OFF + 0; break;
case UNW_IA64_BR + 6: loc += SIGCONTEXT_BR_OFF + 6*8; break;
case UNW_IA64_BR + 7: loc += SIGCONTEXT_BR_OFF + 7*8; break; case UNW_IA64_BR + 7: loc += SIGCONTEXT_BR_OFF + 7*8; break;
case UNW_IA64_AR_RSC: loc += SIGCONTEXT_AR_RSC_OFF; break; case UNW_IA64_AR_RSC: loc += SIGCONTEXT_AR_RSC_OFF; break;
case UNW_IA64_AR_25: loc += SIGCONTEXT_AR_25_OFF; break; case UNW_IA64_AR_25: loc += SIGCONTEXT_AR_25_OFF; break;
@ -399,6 +400,7 @@ ia64_access_reg (struct ia64_cursor *c, unw_regnum_t reg, unw_word_t *valp,
case UNW_IA64_GR + 8 ... UNW_IA64_GR + 14: case UNW_IA64_GR + 8 ... UNW_IA64_GR + 14:
case UNW_IA64_GR + 19 ... UNW_IA64_GR + 31: case UNW_IA64_GR + 19 ... UNW_IA64_GR + 31:
case UNW_IA64_BR + 0: case UNW_IA64_BR + 0:
case UNW_IA64_BR + 6:
case UNW_IA64_BR + 7: case UNW_IA64_BR + 7:
case UNW_IA64_AR_RSC: case UNW_IA64_AR_RSC:
case UNW_IA64_AR_25: case UNW_IA64_AR_25: