diff options
author | Samuel Thibault <samuel.thibault@gnu.org> | 2014-09-12 20:29:11 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2014-09-16 14:38:09 +0200 |
commit | 05db5edd7923711a20c6225ea8e15f36e819d140 (patch) | |
tree | 34df8a05192ecafe3639c1ba3289edbaf18b68fb /gdb/config | |
parent | 70e99720f9d558263756a482ae750b263ffd92ba (diff) | |
download | gdb-05db5edd7923711a20c6225ea8e15f36e819d140.zip gdb-05db5edd7923711a20c6225ea8e15f36e819d140.tar.gz gdb-05db5edd7923711a20c6225ea8e15f36e819d140.tar.bz2 |
Add hardware watchpoint support for x86 GNU Hurd.
gdb/
* config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
x86-dregs.o.
* gnu-nat.c (inf_threads): New function.
* gnu-nat.h (inf_threads_ftype): New typedef.
(inf_threads): New declaration.
* i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
[i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
(i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
(i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
(i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
(i386_gnu_dr_get_control): New functions.
(reg_addr): New structure.
(_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
i386 debugging register hooks.
* NEWS: Mention this.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/i386gnu.mh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/config/i386/i386gnu.mh b/gdb/config/i386/i386gnu.mh index a3ea122..4cc23e4 100644 --- a/gdb/config/i386/i386gnu.mh +++ b/gdb/config/i386/i386gnu.mh @@ -1,5 +1,6 @@ # Host: Intel 386 running the GNU Hurd -NATDEPFILES= i386gnu-nat.o gnu-nat.o core-regset.o fork-child.o \ +NATDEPFILES= i386gnu-nat.o gnu-nat.o \ + x86-nat.o x86-dregs.o core-regset.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 |