From: Mark Kettenis Date: Sat, 29 Dec 2001 20:15:47 +0000 (+0000) Subject: * i386bsd-nat.c (reg_offset): Fix typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c48bda39cc0fc15c8359e700e496bb214ce040f;p=binutils-gdb.git * i386bsd-nat.c (reg_offset): Fix typo. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5e6ed003a9a..4c642ce6450 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2001-12-29 Mark Kettenis + * i386bsd-nat.c (reg_offset): Fix typo. + * i386-tdep.c (i386_push_dummy_frame): Don't write back the modified frame pointer until the old frame pointer has been saved. diff --git a/gdb/i386bsd-nat.c b/gdb/i386bsd-nat.c index 9827afcaebd..081df2e1b39 100644 --- a/gdb/i386bsd-nat.c +++ b/gdb/i386bsd-nat.c @@ -71,7 +71,7 @@ static int reg_offset[] = REG_OFFSET (r_eax), REG_OFFSET (r_ecx), REG_OFFSET (r_edx), - REG_OFFSET (r_edx), + REG_OFFSET (r_ebx), REG_OFFSET (r_esp), REG_OFFSET (r_ebp), REG_OFFSET (r_esi),