From: Michal Ludvig Date: Thu, 7 Aug 2003 07:51:14 +0000 (+0000) Subject: 2003-08-07 Michal Ludvig X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=abd4220e180029c01a878dc83d49115dc1b2b24d;p=binutils-gdb.git 2003-08-07 Michal Ludvig * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers. --- 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. */