aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-linux-tdep.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-04-22 20:35:28 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-04-22 20:35:28 +0000
commitbe0d2954849e6645bcd3eeb82b9e2f36e5a23ee6 (patch)
treeb0d6642d1ef4abecc9fed0a936fb0503d405197c /gdb/i386-linux-tdep.h
parentf56dcb8879cd1ef225707588cbf07599fcf7855d (diff)
downloadgdb-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.h2
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 */