diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-12-29 20:15:47 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-12-29 20:15:47 +0000 |
commit | 2c48bda39cc0fc15c8359e700e496bb214ce040f (patch) | |
tree | 7c8d920ee159a5b96d18abb1440fcd7a63a64457 | |
parent | ec80a8ea8b066ab117939b77a6539f85de19b85f (diff) | |
download | gdb-2c48bda39cc0fc15c8359e700e496bb214ce040f.zip gdb-2c48bda39cc0fc15c8359e700e496bb214ce040f.tar.gz gdb-2c48bda39cc0fc15c8359e700e496bb214ce040f.tar.bz2 |
* i386bsd-nat.c (reg_offset): Fix typo.
-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), |