aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386/nm-fbsd.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-07-21 20:16:44 +0000
committerMark Kettenis <kettenis@gnu.org>2001-07-21 20:16:44 +0000
commit256304449f3723704990160e7fa4496c02b92b2f (patch)
tree92a73dc0965a660ee92bc7a178571ab063609216 /gdb/config/i386/nm-fbsd.h
parent39db33d6029554a081dd7a177ff2b821de089ba8 (diff)
downloadgdb-256304449f3723704990160e7fa4496c02b92b2f.zip
gdb-256304449f3723704990160e7fa4496c02b92b2f.tar.gz
gdb-256304449f3723704990160e7fa4496c02b92b2f.tar.bz2
* i386bsd-nat.c: Do not include <sys/sysctl.h>.
(_initialize_i386bsd_nat) [KERN_PS_STRINGS]: Move FreeBSD-specific code to ... * i386fbsd-nat.c: ... here. New file. * config/i386/fbsd.mh (NATDEPFILES): Add i386-fbsd.o. * config/i386/nm-fbsd.h (CHILD_RESUME): Define. * Makefile.in (ALLDEPFILES): Add i386fbsd-nat.c. (i386fbsd-nat.o): Add dependencies.
Diffstat (limited to 'gdb/config/i386/nm-fbsd.h')
-rw-r--r--gdb/config/i386/nm-fbsd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/config/i386/nm-fbsd.h b/gdb/config/i386/nm-fbsd.h
index 79199bb..939b880 100644
--- a/gdb/config/i386/nm-fbsd.h
+++ b/gdb/config/i386/nm-fbsd.h
@@ -53,6 +53,9 @@ extern unsigned long i386bsd_dr_get_status (void);
/* Override copies of {fetch,store}_inferior_registers in `infptrace.c'. */
#define FETCH_INFERIOR_REGISTERS
+/* Override child_resume in `infptrace.c' to work around a kernel bug. */
+#define CHILD_RESUME
+
/* We can attach and detach. */
#define ATTACH_DETACH