From abd4220e180029c01a878dc83d49115dc1b2b24d Mon Sep 17 00:00:00 2001 From: Michal Ludvig Date: Thu, 7 Aug 2003 07:51:14 +0000 Subject: [PATCH] 2003-08-07 Michal Ludvig * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers. --- gdb/ChangeLog | 3 +++ gdb/x86-64-tdep.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cee2edf3bc2..71d5b5c4561 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,6 @@ +2003-08-07 Michal Ludvig + * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers. + 2003-08-05 Andrew Cagney * reggroups.c (reggroup_next): Check for the final entry. diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c index a2ae63189f4..2e682dc808a 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. */ -- 2.30.2