diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-12-01 13:42:41 +0100 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-12-01 13:42:41 +0100 |
commit | ac3d87c0d256547c036067de7bceee320b9bab8f (patch) | |
tree | ab3378d16a5dab2228a874fb2d713fa18202513e /gdb/config | |
parent | 591f7597d447d8d038d6d8e24a706d1d5e32eba1 (diff) | |
download | binutils-gdb-ac3d87c0d256547c036067de7bceee320b9bab8f.tar.gz |
Use core regset iterators on GNU Hurd
Remove native-only core file handling on GNU Hurd. Instead, enable the
x86 target generic core regset logic on the Hurd by providing an
appropriate register offset map.
Thanks to Samuel Thibault for testing!
gdb/
* config/i386/i386gnu.mh (NATDEPFILES): Remove core-regset.o.
* i386gnu-nat.c: Do not include <sys/procfs.h> or "gregset.h".
(CREG_OFFSET, creg_offset, CREG_ADDR): Remove.
(supply_gregset, supply_fpregset): Remove.
* i386gnu-tdep.c (i386gnu_gregset_reg_offset): New variable.
(i386gnu_init_abi): Set tdep->gregset_reg_offset, gregset_num_regs,
and sizeof_gregset.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/i386gnu.mh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/config/i386/i386gnu.mh b/gdb/config/i386/i386gnu.mh index 4cc23e4004e..f1c0c5fe6ba 100644 --- a/gdb/config/i386/i386gnu.mh +++ b/gdb/config/i386/i386gnu.mh @@ -1,6 +1,6 @@ # Host: Intel 386 running the GNU Hurd NATDEPFILES= i386gnu-nat.o gnu-nat.o \ - x86-nat.o x86-dregs.o core-regset.o fork-child.o \ + x86-nat.o x86-dregs.o fork-child.o \ notify_S.o process_reply_S.o msg_reply_S.o \ msg_U.o exc_request_U.o exc_request_S.o HAVE_NATIVE_GCORE_HOST = 1 |