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.h | |
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.h')
-rw-r--r-- | gdb/i386-linux-tdep.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/i386-linux-tdep.h b/gdb/i386-linux-tdep.h index 1228681..c2291b0 100644 --- a/gdb/i386-linux-tdep.h +++ b/gdb/i386-linux-tdep.h @@ -65,4 +65,6 @@ extern struct target_desc *tdesc_i386_avx_linux; the process/thread is in. */ #define I386_LINUX_XSAVE_XCR0_OFFSET 464 +extern int i386_linux_gregset_reg_offset[]; + #endif /* i386-linux-tdep.h */ |