* i386bsd-nat.c: Include "gdb_assert.h".
authorMark Kettenis <kettenis@gnu.org>
Sat, 31 Mar 2001 18:09:03 +0000 (18:09 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 31 Mar 2001 18:09:03 +0000 (18:09 +0000)
commit0afdd43759e75acf6c34338ac95d406aad497a08
treec39e6549935fbcbd99f1edbcbe416b3b1882ed60
parent4bcc394469c492857bf7b70a32338cdde27c108d
* i386bsd-nat.c: Include "gdb_assert.h".
[HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not
already defined.
[HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control,
i386bsd_dr_set_addr, i386bsd_dr_reset_addr,
i386bsd_dr_get_status): New functions.
* config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS]
(I386_USE_GENERIC_WATCHPOINTS): Define.
Include "i386/nm-i386.h".
(I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
(i386bsd_dr_set_control, i386bsd_dr_set_addr,
i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes.
* acconfig.h (HAVE_PT_GETDBREGS): New configure macro.
* configure.in: Cleanup a few comments.  Check for PT_GETDBREGS
ptrace request.
* config.in, configure: Regenerate.
gdb/ChangeLog
gdb/acconfig.h
gdb/config.in
gdb/config/i386/nm-fbsd.h
gdb/configure
gdb/configure.in
gdb/i386bsd-nat.c