diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-07-21 20:16:44 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-07-21 20:16:44 +0000 |
commit | 256304449f3723704990160e7fa4496c02b92b2f (patch) | |
tree | 92a73dc0965a660ee92bc7a178571ab063609216 /gdb/config/i386 | |
parent | 39db33d6029554a081dd7a177ff2b821de089ba8 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/config/i386/fbsd.mh | 2 | ||||
-rw-r--r-- | gdb/config/i386/nm-fbsd.h | 3 |
2 files changed, 4 insertions, 1 deletions
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 |