* i386bsd-nat.c: Include "i386bsd-nat.h" and "inf-ptrace.h".
authorMark Kettenis <kettenis@gnu.org>
Sun, 19 Sep 2004 20:49:26 +0000 (20:49 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 19 Sep 2004 20:49:26 +0000 (20:49 +0000)
commit9692934b4ce2df4304f7b38411d3d1959264c5e3
tree2ce7389eea6c9b5e8469ba087b1879dd28d7d53f
parent3510d1f2fd97b92209998a4ddadadf19ccc0f0c1
* i386bsd-nat.c: Include "i386bsd-nat.h" and "inf-ptrace.h".
(i386bsd_fetch_inferior_registers): Rename from
fetch_inferior_registers.  Make static.
(i386bsd_store_inferior_registers): Rename from
store_inferior_registers.  Make static.
(i386bsd_target): New function.
* i386bsd-nat.h: New file.
* i386fbsd-nat.c: Include "target.h", "fbsd-nat.h" and
"i386bsd-nat.h".
(i386fbsd_resume): Rename from child_resume.  Make static.
(_initialize_i386fbsd_nat): Construct and add target vector.
* i386nbsd-nat.c: Include "target.h" and "i386bsd-nat.h".
(_initialize_i386nbsd_nat): Construct and add target vector.
* config/i386/nm-fbsd.h: (CHILD_RESUME, CHILD_PID_TO_EXEC_FILE):
Remove defines.
* config/i386/fbsd.mh (NATDEPFILES): Add inf-child.o, inf-ptrace.o
and fbsd-nat.o.  Remove inftarg.o and fbsd-proc.o.
* config/i386/nbsdaout.mh (NATDEPFILES): Add inf-child.o,
inf-ptrace.o, i386bsd-nat.o and bsd-kvm.o.  Remove inftarg.o.
(LOADLIBES): New variable.
* config/i386/nbsdelf.mh (NATDEPFILES): Add inf-child.o and
inf-ptrace.o.  Remove inftarg.o.
* config/i386/obsd.mh (NATDEPFILES): Add inf-child.o and
inf-ptrace.o. Remove inftarg.o.
* config/i386/obsdaout.mh (NATDEPFILES): Add inf-child.o,
inf-ptrace.o, i386nbsd-nat.o and bsd-kvm.o.  Remove inftarg.o.
(LOADLIBES): New variable.
* Makefile.in (i386bsd_nat_h): New variable.
(i386bsd-nat.o, i386fbsd-nat.o, i386nbsd-nat.o): Update
dependencies.
12 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/config/i386/fbsd.mh
gdb/config/i386/nbsdaout.mh
gdb/config/i386/nbsdelf.mh
gdb/config/i386/nm-fbsd.h
gdb/config/i386/obsd.mh
gdb/config/i386/obsdaout.mh
gdb/i386bsd-nat.c
gdb/i386bsd-nat.h [new file with mode: 0644]
gdb/i386fbsd-nat.c
gdb/i386nbsd-nat.c