Remove regmap from i386-linux-nat.c.
2010-04-22 H.J. Lu <hongjiu.lu@intel.com> * i386-linux-nat.c (regmap): Removed. (fetch_register): Replace regmap with i386_linux_gregset_reg_offset. (store_register): Likewise. (supply_gregset): Likewise. (fill_gregset): Likewise. * i386-linux-tdep.c (i386_linux_gregset_reg_offset): Make it global. * i386-linux-tdep.h (i386_linux_gregset_reg_offset): New.
This commit is contained in:
parent
f56dcb8879
commit
be0d295484
4 changed files with 31 additions and 31 deletions
|
@ -529,7 +529,7 @@ i386_linux_get_syscall_number (struct gdbarch *gdbarch,
|
|||
format and GDB's register cache layout. */
|
||||
|
||||
/* From <sys/reg.h>. */
|
||||
static int i386_linux_gregset_reg_offset[] =
|
||||
int i386_linux_gregset_reg_offset[] =
|
||||
{
|
||||
6 * 4, /* %eax */
|
||||
1 * 4, /* %ecx */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue