aboutsummaryrefslogtreecommitdiff
path: root/gdb/acconfig.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-03-31 18:09:03 +0000
committerMark Kettenis <kettenis@gnu.org>2001-03-31 18:09:03 +0000
commit0afdd43759e75acf6c34338ac95d406aad497a08 (patch)
treec39e6549935fbcbd99f1edbcbe416b3b1882ed60 /gdb/acconfig.h
parent4bcc394469c492857bf7b70a32338cdde27c108d (diff)
downloadgdb-0afdd43759e75acf6c34338ac95d406aad497a08.zip
gdb-0afdd43759e75acf6c34338ac95d406aad497a08.tar.gz
gdb-0afdd43759e75acf6c34338ac95d406aad497a08.tar.bz2
* 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.
Diffstat (limited to 'gdb/acconfig.h')
-rw-r--r--gdb/acconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/acconfig.h b/gdb/acconfig.h
index 2ae2718..c7981a1 100644
--- a/gdb/acconfig.h
+++ b/gdb/acconfig.h
@@ -147,6 +147,9 @@
/* Define if <sys/ptrace.h> defines the PTRACE_GETFPXREGS request. */
#undef HAVE_PTRACE_GETFPXREGS
+/* Define if <sys/ptrace.h> defines the PT_GETDBREGS request. */
+#undef HAVE_PT_GETDBREGS
+
/* Define if gnu-regex.c included with GDB should be used. */
#undef USE_INCLUDED_REGEX