diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-09-12 13:04:41 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-09-12 13:04:41 +0000 |
commit | 5bf970f9366e676f9fdc252cc9fde31fbf84b9c4 (patch) | |
tree | 52c3bff7ebc08f7a2d1119cd538f0224f96b78f8 /gdb/inf-ptrace.h | |
parent | 74013231d1989923b284265e536a13457da4907c (diff) | |
download | gdb-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-ptrace.h')
-rw-r--r-- | gdb/inf-ptrace.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gdb/inf-ptrace.h b/gdb/inf-ptrace.h new file mode 100644 index 0000000..e9ceae3 --- /dev/null +++ b/gdb/inf-ptrace.h @@ -0,0 +1,31 @@ +/* Low level Unix child interface to ptrace, 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_PTRACE_H +#define INF_PTRACE_H + +/* Create a prototype ptrace target. The client can override it with + local methods. */ + +extern struct target_ops *inf_ptrace_target (void); + +#endif |