From 2c48bda39cc0fc15c8359e700e496bb214ce040f Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 29 Dec 2001 20:15:47 +0000 Subject: * i386bsd-nat.c (reg_offset): Fix typo. --- gdb/ChangeLog | 2 ++ gdb/i386bsd-nat.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 + * 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), -- cgit v1.1