diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-04-22 20:35:27 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-04-22 20:35:27 +0000 |
commit | f1fa309f01bb0675e0191085e3034aec07d51e9f (patch) | |
tree | d799865e086f9fbe42c368b56f98f8c1351cebb4 /gdb/i386-linux-tdep.h | |
parent | 407cb192dcac2602aebaa7e262419adb580ecca6 (diff) | |
download | gdb-f1fa309f01bb0675e0191085e3034aec07d51e9f.tar.gz |
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 12286814d98..c2291b02649 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 */ |