diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-06-01 16:45:02 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-06-01 16:45:02 +0000 |
commit | c7f1635919382ad4128474ddace64667b80f8879 (patch) | |
tree | dcb3dc21d48fb9d67ad70e1170fcc341ba8840d3 /gdb/i386-linux-nat.c | |
parent | 7131cb6efde3fabac3c1d91b1063caf9f84d5037 (diff) | |
download | gdb-c7f1635919382ad4128474ddace64667b80f8879.zip gdb-c7f1635919382ad4128474ddace64667b80f8879.tar.gz gdb-c7f1635919382ad4128474ddace64667b80f8879.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/i386-linux-nat.c')
-rw-r--r-- | gdb/i386-linux-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c index cf769d8..1928a55 100644 --- a/gdb/i386-linux-nat.c +++ b/gdb/i386-linux-nat.c @@ -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; |