aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/x86-64-tdep.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cee2edf..71d5b5c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,6 @@
+2003-08-07 Michal Ludvig <mludvig@suse.cz>
+ * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers.
+
2003-08-05 Andrew Cagney <cagney@redhat.com>
* reggroups.c (reggroup_next): Check for the final entry.
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. */