From 256304449f3723704990160e7fa4496c02b92b2f Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 21 Jul 2001 20:16:44 +0000 Subject: * i386bsd-nat.c: Do not include . (_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. --- gdb/config/i386/fbsd.mh | 2 +- gdb/config/i386/nm-fbsd.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'gdb/config/i386') diff --git a/gdb/config/i386/fbsd.mh b/gdb/config/i386/fbsd.mh index 7742b0f..93e0702 100644 --- a/gdb/config/i386/fbsd.mh +++ b/gdb/config/i386/fbsd.mh @@ -1,6 +1,6 @@ # Host: Intel 386 running FreeBSD XDEPFILES= # NOTE: Do not spread NATDEPFILES over several lines - it hurts BSD make. -NATDEPFILES= fork-child.o infptrace.o inftarg.o solib.o solib-svr4.o solib-legacy.o corelow.o core-aout.o core-regset.o i387-nat.o i386bsd-nat.o i386-nat.o +NATDEPFILES= fork-child.o infptrace.o inftarg.o solib.o solib-svr4.o solib-legacy.o corelow.o core-aout.o core-regset.o i386-nat.o i387-nat.o i386bsd-nat.o i386fbsd-nat.o XM_FILE= xm-fbsd.h NAT_FILE= nm-fbsd.h 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 -- cgit v1.1