aboutsummaryrefslogtreecommitdiff
path: root/gdb/x86-64-tdep.c
diff options
context:
space:
mode:
authorMichal Ludvig <mludvig@suse.cz>2003-08-07 07:51:14 +0000
committerMichal Ludvig <mludvig@suse.cz>2003-08-07 07:51:14 +0000
commitabd4220e180029c01a878dc83d49115dc1b2b24d (patch)
treeb41d46963cb6984eaf46a34d4f2b4c8009aee945 /gdb/x86-64-tdep.c
parentc39a58e6ffd208012eda73a92c52dc65127b2581 (diff)
downloadgdb-abd4220e180029c01a878dc83d49115dc1b2b24d.zip
gdb-abd4220e180029c01a878dc83d49115dc1b2b24d.tar.gz
gdb-abd4220e180029c01a878dc83d49115dc1b2b24d.tar.bz2
2003-08-07 Michal Ludvig <mludvig@suse.cz>
* x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers.
Diffstat (limited to 'gdb/x86-64-tdep.c')
-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 a2ae631..2e682dc 100644
--- a/gdb/x86-64-tdep.c
+++ b/gdb/x86-64-tdep.c
@@ -144,7 +144,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. */