]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/NEWS
Add hardware watchpoint support for x86 GNU Hurd.
authorSamuel Thibault <samuel.thibault@gnu.org>
Fri, 12 Sep 2014 18:29:11 +0000 (20:29 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 16 Sep 2014 12:38:09 +0000 (14:38 +0200)
commit05db5edd7923711a20c6225ea8e15f36e819d140
tree34df8a05192ecafe3639c1ba3289edbaf18b68fb
parent70e99720f9d558263756a482ae750b263ffd92ba
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.
gdb/ChangeLog
gdb/NEWS
gdb/config/i386/i386gnu.mh
gdb/gnu-nat.c
gdb/gnu-nat.h
gdb/i386gnu-nat.c