From: Mark Kettenis Date: Sat, 20 Dec 2003 13:36:00 +0000 (+0000) Subject: * x86-64-tdep.c (x86_64_dwarf_regmap): Map the Return Address to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=59207364ed59269dff01517926f14720ac8a0cba;p=binutils-gdb.git * x86-64-tdep.c (x86_64_dwarf_regmap): Map the Return Address to RIP. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 88be8e132f4..a7c08e954a7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-12-20 Mark Kettenis + + * x86-64-tdep.c (x86_64_dwarf_regmap): Map the Return Address to + RIP. + 2003-12-18 Michael Chastain * hppa-tdep.c (hppa_gdbarch_init): Set long double floating diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c index b4d590e34ac..56b1e9bea85 100644 --- a/gdb/x86-64-tdep.c +++ b/gdb/x86-64-tdep.c @@ -157,8 +157,8 @@ static int x86_64_dwarf_regmap[] = /* Extended Integer Registers 8 - 15. */ 8, 9, 10, 11, 12, 13, 14, 15, - /* Return Address RA. Not mapped. */ - -1, + /* Return Address RA. Mapped to RIP. */ + X86_64_RIP_REGNUM, /* SSE Registers 0 - 7. */ X86_64_XMM0_REGNUM + 0, X86_64_XMM1_REGNUM,