Remove regmap from i386-linux-nat.c.
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 22 Apr 2010 20:35:28 +0000 (20:35 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 22 Apr 2010 20:35:28 +0000 (20:35 +0000)
commitbe0d2954849e6645bcd3eeb82b9e2f36e5a23ee6
treeb0d6642d1ef4abecc9fed0a936fb0503d405197c
parentf56dcb8879cd1ef225707588cbf07599fcf7855d
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.
gdb/ChangeLog
gdb/i386-linux-nat.c
gdb/i386-linux-tdep.c
gdb/i386-linux-tdep.h