diff options
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/i386bsd-nat.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5e6ed00..4c642ce 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2001-12-29 Mark Kettenis <kettenis@gnu.org> + * 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 9827afc..081df2e 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), |