diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-04-22 20:35:28 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-04-22 20:35:28 +0000 |
commit | be0d2954849e6645bcd3eeb82b9e2f36e5a23ee6 (patch) | |
tree | b0d6642d1ef4abecc9fed0a936fb0503d405197c /gdb/i386-linux-tdep.c | |
parent | f56dcb8879cd1ef225707588cbf07599fcf7855d (diff) | |
download | gdb-be0d2954849e6645bcd3eeb82b9e2f36e5a23ee6.zip gdb-be0d2954849e6645bcd3eeb82b9e2f36e5a23ee6.tar.gz gdb-be0d2954849e6645bcd3eeb82b9e2f36e5a23ee6.tar.bz2 |
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.
Diffstat (limited to 'gdb/i386-linux-tdep.c')
-rw-r--r-- | gdb/i386-linux-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c index 272cc99..3ae19a7 100644 --- a/gdb/i386-linux-tdep.c +++ b/gdb/i386-linux-tdep.c @@ -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 */ |