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.
This commit is contained in:
H.J. Lu
2010-04-17 18:53:46 +00:00
parent cc60f2e372
commit ed41462c79
5 changed files with 328 additions and 1 deletions

View File

@@ -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" */
};