aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-child.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-09-12 13:04:41 +0000
committerAndrew Cagney <cagney@redhat.com>2004-09-12 13:04:41 +0000
commit5bf970f9366e676f9fdc252cc9fde31fbf84b9c4 (patch)
tree52c3bff7ebc08f7a2d1119cd538f0224f96b78f8 /gdb/inf-child.h
parent74013231d1989923b284265e536a13457da4907c (diff)
downloadgdb-5bf970f9366e676f9fdc252cc9fde31fbf84b9c4.zip
gdb-5bf970f9366e676f9fdc252cc9fde31fbf84b9c4.tar.gz
gdb-5bf970f9366e676f9fdc252cc9fde31fbf84b9c4.tar.bz2
2004-09-12 Andrew Cagney <cagney@gnu.org>
* ppcnbsd-nat.c: Include "inf-ptrace.h". (ppcnbsd_fetch_inferior_registers): Rename fetch_inferior_registers. (ppcnbsd_store_inferior_registers): Rename store_inferior_registers. (_initialize_ppcnbsd_nat): Create and add a NetBSD/PPC ptrace target. * config/powerpc/nbsd.mh (NATDEPFILES): Replace and inftarg.o with inf-ptrace.o and inf-child.o. * inf-ptrace.h, inf-ptrace.c, inf-child.h, inf-child.c: New files. * Makefile.in: Update dependencies.
Diffstat (limited to 'gdb/inf-child.h')
-rw-r--r--gdb/inf-child.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/gdb/inf-child.h b/gdb/inf-child.h
new file mode 100644
index 0000000..5b6edec
--- /dev/null
+++ b/gdb/inf-child.h
@@ -0,0 +1,30 @@
+/* Low level Unix child interface, for GDB when running under Unix.
+
+ 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 INF_CHILD_H
+#define INF_CHILD_H
+
+/* Create a prototype child target. The client can override it with
+ local methods. */
+
+extern struct target_ops *inf_child_target (void);
+
+#endif