aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Ludvig <mludvig@suse.cz>2003-08-07 08:09:22 +0000
committerMichal Ludvig <mludvig@suse.cz>2003-08-07 08:09:22 +0000
commite4989c00ae3f5e36b5749aad32796732ad96c310 (patch)
tree8b6e50feda73f77d26609c73b3602b78dd2803c4
parent4e5969e7f248ac44a3bbba7a216c8534f19521a3 (diff)
downloadgdb-e4989c00ae3f5e36b5749aad32796732ad96c310.zip
gdb-e4989c00ae3f5e36b5749aad32796732ad96c310.tar.gz
gdb-e4989c00ae3f5e36b5749aad32796732ad96c310.tar.bz2
(Oops, now the correct version :-)
2003-08-07 Michal Ludvig <mludvig@suse.cz> * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers.
-rw-r--r--gdb/x86-64-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c
index 1904b37..21a60f3 100644
--- a/gdb/x86-64-tdep.c
+++ b/gdb/x86-64-tdep.c
@@ -155,7 +155,7 @@ x86_64_register_type (struct gdbarch *gdbarch, int regnum)
static int x86_64_dwarf_regmap[] =
{
/* General Purpose Registers RAX, RDX, RCX, RBX, RSI, RDI. */
- X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, 3, 2,
+ X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, 2, 1,
4, X86_64_RDI_REGNUM,
/* Frame Pointer Register RBP. */