From 5bf970f9366e676f9fdc252cc9fde31fbf84b9c4 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 12 Sep 2004 13:04:41 +0000 Subject: 2004-09-12 Andrew Cagney * 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. --- gdb/inf-child.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 gdb/inf-child.h (limited to 'gdb/inf-child.h') 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 -- cgit v1.1