diff options
author | Pedro Alves <palves@redhat.com> | 2012-02-09 16:06:44 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-02-09 16:06:44 +0000 |
commit | 1916efaf84a102ab118cda679ab9bf1ba032c993 (patch) | |
tree | 34cbd10b2388cf394e04484fa7ee63217d7e050d /gdb/config | |
parent | f4859d94a05ee84d491fcc2bdb221da6670dbe52 (diff) | |
download | gdb-1916efaf84a102ab118cda679ab9bf1ba032c993.zip gdb-1916efaf84a102ab118cda679ab9bf1ba032c993.tar.gz gdb-1916efaf84a102ab118cda679ab9bf1ba032c993.tar.bz2 |
2012-02-09 Valery Khromov <valery.khromov@gmail.com>
PR gdb/12953
* Makefile.in (HFILES_NO_SRCDIR): Add amd64bsd-nat.h.
* amd64bsd-nat.c: Add support for debug registers (adapted from
i386bsd-nat.c).
[HAVE_PT_GETDBREGS] (amd64bsd_dr_get, amd64bsd_dr_set)
(amd64bsd_dr_set_control, amd64bsd_dr_set_addr)
(amd64bsd_dr_get_addr, amd64bsd_dr_get_status)
(amd64bsd_dr_get_control): New functions.
* amd64bsd-nat.h: New file (adapted from i386bsd-nat.h).
* amd64fbsd-nat.c: Include "amd64bsd-nat.h", "i386-nat.h".
[HAVE_PT_GETDBREGS] (_initialize_amd64fbsd_nat): Add hardware
watchpoints initialization.
* config/i386/fbsd64.mh (NATDEPFILES): Add i386-nat.o.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/fbsd64.mh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/config/i386/fbsd64.mh b/gdb/config/i386/fbsd64.mh index 2266def..3f43727 100644 --- a/gdb/config/i386/fbsd64.mh +++ b/gdb/config/i386/fbsd64.mh @@ -1,6 +1,6 @@ # Host: FreeBSD/amd64 NATDEPFILES= fork-child.o inf-ptrace.o \ fbsd-nat.o amd64-nat.o amd64bsd-nat.o amd64fbsd-nat.o \ - bsd-kvm.o + bsd-kvm.o i386-nat.o LOADLIBES= -lkvm |