aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-linux-tdep.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-04-17 18:53:46 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-04-17 18:53:46 +0000
commited41462c79cfb7458a38cac07976ea15292f46f2 (patch)
treee79099ccb5698ef95e4d0491ccef45c19be9831b /gdb/amd64-linux-tdep.c
parentcc60f2e3729df42687fafc8344c40603a39650bf (diff)
downloadgdb-ed41462c79cfb7458a38cac07976ea15292f46f2.zip
gdb-ed41462c79cfb7458a38cac07976ea15292f46f2.tar.gz
gdb-ed41462c79cfb7458a38cac07976ea15292f46f2.tar.bz2
gdb/
2010-04-17 H.J. Lu <hongjiu.lu@intel.com> PR corefiles/11511 * amd64-linux-tdep.c (amd64_linux_gregset_reg_offset): Support orig_rax. gdb/testsuite/ 2010-04-17 H.J. Lu <hongjiu.lu@intel.com> PR corefiles/11511 * gdb.arch/system-gcore.exp: New. * gdb.arch/gcore.c: Likewise.
Diffstat (limited to 'gdb/amd64-linux-tdep.c')
-rw-r--r--gdb/amd64-linux-tdep.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c
index 1205e31..f249d5d 100644
--- a/gdb/amd64-linux-tdep.c
+++ b/gdb/amd64-linux-tdep.c
@@ -87,7 +87,14 @@ static int amd64_linux_gregset_reg_offset[] =
23 * 8, /* %ds */
24 * 8, /* %es */
25 * 8, /* %fs */
- 26 * 8 /* %gs */
+ 26 * 8, /* %gs */
+ -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1,
+ 15 * 8 /* "orig_rax" */
};