mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
* hppa-tdep.c (hppa_frame_cache): Add support for OpenBSD and
NetBSD system call stubs that store %rp in the ERP slot of the stack frame.
This commit is contained in:
@ -1660,6 +1660,11 @@ hppa_frame_cache (struct frame_info *next_frame, void **this_cache)
|
||||
looking_for_rp = 0;
|
||||
cache->saved_regs[HPPA_RP_REGNUM].addr = -20;
|
||||
}
|
||||
else if (inst == 0x6bc23fd1) /* stw rp,-0x18(sr0,sp) */
|
||||
{
|
||||
looking_for_rp = 0;
|
||||
cache->saved_regs[HPPA_RP_REGNUM].addr = -24;
|
||||
}
|
||||
else if (inst == 0x0fc212c1) /* std rp,-0x10(sr0,sp) */
|
||||
{
|
||||
looking_for_rp = 0;
|
||||
|
Reference in New Issue
Block a user