forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
31
gdb/inf-ptrace.h
Normal file
31
gdb/inf-ptrace.h
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user