aboutsummaryrefslogtreecommitdiff
path: root/gdb/x86-64-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-12-20 13:36:00 +0000
committerMark Kettenis <kettenis@gnu.org>2003-12-20 13:36:00 +0000
commit59207364ed59269dff01517926f14720ac8a0cba (patch)
treecccd6133070c6dbbd5441ad07883d6dcfc1076b3 /gdb/x86-64-tdep.c
parent31a91399d17d79d437ded1275a841d917e3af2ed (diff)
downloadgdb-59207364ed59269dff01517926f14720ac8a0cba.zip
gdb-59207364ed59269dff01517926f14720ac8a0cba.tar.gz
gdb-59207364ed59269dff01517926f14720ac8a0cba.tar.bz2
* x86-64-tdep.c (x86_64_dwarf_regmap): Map the Return Address to
RIP.
Diffstat (limited to 'gdb/x86-64-tdep.c')
-rw-r--r--gdb/x86-64-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c
index b4d590e..56b1e9b 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,