forked from Imagelibrary/binutils-gdb
* i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of
SP_REGNUM. * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise. * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise.
This commit is contained in:
@@ -852,7 +852,7 @@ child_resume (ptid_t ptid, int step, enum target_signal signal)
|
||||
/* Then check the system call number. */
|
||||
if (syscall == SYS_sigreturn || syscall == SYS_rt_sigreturn)
|
||||
{
|
||||
CORE_ADDR sp = read_register (SP_REGNUM);
|
||||
CORE_ADDR sp = read_register (I386_ESP_REGNUM);
|
||||
CORE_ADDR addr = sp;
|
||||
unsigned long int eflags;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user