diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-04-17 18:53:46 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-04-17 18:53:46 +0000 |
commit | ed41462c79cfb7458a38cac07976ea15292f46f2 (patch) | |
tree | e79099ccb5698ef95e4d0491ccef45c19be9831b /gdb/amd64-linux-tdep.c | |
parent | cc60f2e3729df42687fafc8344c40603a39650bf (diff) | |
download | gdb-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.c | 9 |
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" */ }; |