diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-09-19 20:49:26 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-09-19 20:49:26 +0000 |
commit | e407797778e70dea95ff81861a54dbd29823204b (patch) | |
tree | 9b5d13d1256079d1258c2a8f8b5e9c934d8519eb /gdb/i386bsd-nat.h | |
parent | 8ceea9d05e4ff83ca91de2d445568a5d8f61661c (diff) | |
download | gdb-e407797778e70dea95ff81861a54dbd29823204b.tar.gz |
* 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.
Diffstat (limited to 'gdb/i386bsd-nat.h')
-rw-r--r-- | gdb/i386bsd-nat.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gdb/i386bsd-nat.h b/gdb/i386bsd-nat.h new file mode 100644 index 00000000000..a0764ff2f1c --- /dev/null +++ b/gdb/i386bsd-nat.h @@ -0,0 +1,30 @@ +/* Native-dependent code for modern i386 BSD's. + + Copyright 2004 Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#ifndef I386BSD_NAT_H +#define I386BSD_NAT_H + +/* Create a prototype *BSD/i386 target. The client can override it + with local methods. */ + +extern struct target_ops *i386bsd_target (void); + +#endif /* i386bsd-nat.h */ |