* hppah-nat.c: Remove file.
* infttrace.h: Remove file. * infttrace.c: Remove file. * Makefile.in (ALLDEPFILES): Remove hppah-nat.c (infttrace_h): Remove variable. (hppah-nat.o, infttrace.o): Remove dependencies. * configure.host (hppa*64*-*-hpux11*): Remove. * config/pa/hpux11w.mh: Remove file. * config/pa/nm-hppah.h: Remove file. * config/pa/nm-hppah11.h: Remove file.
This commit is contained in:
parent
1a20add74a
commit
87285d5bcb
|
@ -1,5 +1,16 @@
|
||||||
2004-12-18 Mark Kettenis <kettenis@gnu.org>
|
2004-12-18 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* hppah-nat.c: Remove file.
|
||||||
|
* infttrace.h: Remove file.
|
||||||
|
* infttrace.c: Remove file.
|
||||||
|
* Makefile.in (ALLDEPFILES): Remove hppah-nat.c
|
||||||
|
(infttrace_h): Remove variable.
|
||||||
|
(hppah-nat.o, infttrace.o): Remove dependencies.
|
||||||
|
* configure.host (hppa*64*-*-hpux11*): Remove.
|
||||||
|
* config/pa/hpux11w.mh: Remove file.
|
||||||
|
* config/pa/nm-hppah.h: Remove file.
|
||||||
|
* config/pa/nm-hppah11.h: Remove file.
|
||||||
|
|
||||||
* config/djgpp/fnchange.lst: Resolve name clash between
|
* config/djgpp/fnchange.lst: Resolve name clash between
|
||||||
../bfd/elf32-arm.c and ../bfd/elf32-arc.c, i386-sol2-nat.c and
|
../bfd/elf32-arm.c and ../bfd/elf32-arc.c, i386-sol2-nat.c and
|
||||||
i386-sol2-tdep.c, mips64obsd-nat.c and mips64obsd-tdep.c,
|
i386-sol2-tdep.c, mips64obsd-nat.c and mips64obsd-tdep.c,
|
||||||
|
|
|
@ -711,7 +711,6 @@ inferior_h = inferior.h $(breakpoint_h) $(target_h) $(frame_h)
|
||||||
inf_loop_h = inf-loop.h
|
inf_loop_h = inf-loop.h
|
||||||
inflow_h = inflow.h $(terminal_h)
|
inflow_h = inflow.h $(terminal_h)
|
||||||
inf_ptrace_h = inf-ptrace.h
|
inf_ptrace_h = inf-ptrace.h
|
||||||
infttrace_h = infttrace.h
|
|
||||||
inf_ttrace_h = inf-ttrace.h
|
inf_ttrace_h = inf-ttrace.h
|
||||||
interps_h = interps.h
|
interps_h = interps.h
|
||||||
jv_lang_h = jv-lang.h
|
jv_lang_h = jv-lang.h
|
||||||
|
@ -1372,9 +1371,9 @@ ALLDEPFILES = \
|
||||||
glibc-tdep.c \
|
glibc-tdep.c \
|
||||||
go32-nat.c h8300-tdep.c \
|
go32-nat.c h8300-tdep.c \
|
||||||
hppa-tdep.c hppa-hpux-tdep.c hppa-hpux-nat.c \
|
hppa-tdep.c hppa-hpux-tdep.c hppa-hpux-nat.c \
|
||||||
hppah-nat.c hpread.c \
|
|
||||||
hppa-linux-tdep.c hppa-linux-nat.c \
|
hppa-linux-tdep.c hppa-linux-nat.c \
|
||||||
hppabsd-nat.c hppabsd-tdep.c \
|
hppabsd-nat.c hppabsd-tdep.c \
|
||||||
|
hpread.c \
|
||||||
i386-tdep.c i386v-nat.c i386-linux-nat.c \
|
i386-tdep.c i386v-nat.c i386-linux-nat.c \
|
||||||
i386v4-nat.c i386-cygwin-tdep.c \
|
i386v4-nat.c i386-cygwin-tdep.c \
|
||||||
i386bsd-nat.c i386bsd-tdep.c i386fbsd-nat.c i386fbsd-tdep.c \
|
i386bsd-nat.c i386bsd-tdep.c i386fbsd-nat.c i386fbsd-tdep.c \
|
||||||
|
@ -1968,9 +1967,6 @@ hppabsd-nat.o: hppabsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
|
||||||
hppabsd-tdep.o: hppabsd-tdep.c $(defs_h) $(arch_utils_h) $(osabi_h) \
|
hppabsd-tdep.o: hppabsd-tdep.c $(defs_h) $(arch_utils_h) $(osabi_h) \
|
||||||
$(regcache_h) $(regset_h) $(gdb_assert_h) $(gdb_string_h) \
|
$(regcache_h) $(regset_h) $(gdb_assert_h) $(gdb_string_h) \
|
||||||
$(hppa_tdep_h) $(solib_svr4_h)
|
$(hppa_tdep_h) $(solib_svr4_h)
|
||||||
hppah-nat.o: hppah-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
|
|
||||||
$(gdb_wait_h) $(regcache_h) $(gdb_string_h) $(infttrace_h) \
|
|
||||||
$(hppa_tdep_h)
|
|
||||||
hppa-hpux-nat.o: hppa-hpux-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
|
hppa-hpux-nat.o: hppa-hpux-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
|
||||||
$(target_h) $(gdb_assert_h) $(hppa_tdep_h) $(inf_ptrace_h) \
|
$(target_h) $(gdb_assert_h) $(hppa_tdep_h) $(inf_ptrace_h) \
|
||||||
$(inf_ttrace_h)
|
$(inf_ttrace_h)
|
||||||
|
@ -2103,9 +2099,6 @@ infrun.o: infrun.c $(defs_h) $(gdb_string_h) $(symtab_h) $(frame_h) \
|
||||||
inftarg.o: inftarg.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
|
inftarg.o: inftarg.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
|
||||||
$(gdbcore_h) $(command_h) $(gdb_stat_h) $(observer_h) $(gdb_wait_h) \
|
$(gdbcore_h) $(command_h) $(gdb_stat_h) $(observer_h) $(gdb_wait_h) \
|
||||||
$(inflow_h)
|
$(inflow_h)
|
||||||
infttrace.o: infttrace.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
|
|
||||||
$(gdb_string_h) $(gdb_wait_h) $(command_h) $(gdbthread_h) \
|
|
||||||
$(infttrace_h) $(gdbcore_h)
|
|
||||||
interps.o: interps.c $(defs_h) $(gdbcmd_h) $(ui_out_h) $(event_loop_h) \
|
interps.o: interps.c $(defs_h) $(gdbcmd_h) $(ui_out_h) $(event_loop_h) \
|
||||||
$(event_top_h) $(interps_h) $(completer_h) $(gdb_string_h) \
|
$(event_top_h) $(interps_h) $(completer_h) $(gdb_string_h) \
|
||||||
$(gdb_events_h) $(gdb_assert_h) $(top_h)
|
$(gdb_events_h) $(gdb_assert_h) $(top_h)
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
# Host: Hewlett-Packard PA-RISC machine, running HPUX 11.00
|
|
||||||
|
|
||||||
# FIXME: cagney/2002-04-07: gdb/366: The -Dvfork=fork hack below is
|
|
||||||
# stop GDB hanging on HP/UX. For some reason vfork() hangs yet fork()
|
|
||||||
# doesn't ....
|
|
||||||
|
|
||||||
MH_CFLAGS = -Dvfork=fork
|
|
||||||
|
|
||||||
NAT_FILE= nm-hppah11.h
|
|
||||||
NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o \
|
|
||||||
infttrace.o
|
|
|
@ -1,223 +0,0 @@
|
||||||
/* Native support for HPPA-RISC machine running HPUX, for GDB.
|
|
||||||
Copyright 1991, 1992, 1994, 1996, 1998, 1999, 2000, 2002
|
|
||||||
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. */
|
|
||||||
|
|
||||||
struct target_ops;
|
|
||||||
|
|
||||||
#define U_REGS_OFFSET 0
|
|
||||||
|
|
||||||
#define KERNEL_U_ADDR 0
|
|
||||||
|
|
||||||
/* What a coincidence! */
|
|
||||||
#define REGISTER_U_ADDR(addr, blockend, regno) \
|
|
||||||
{ addr = (int)(blockend) + DEPRECATED_REGISTER_BYTE (regno);}
|
|
||||||
|
|
||||||
/* This isn't really correct, because ptrace is actually a 32-bit
|
|
||||||
interface. However, the modern HP-UX targets all really use
|
|
||||||
ttrace, which is a 64-bit interface --- a debugger running in
|
|
||||||
either 32- or 64-bit mode can debug a 64-bit process. BUT, the
|
|
||||||
code doesn't use ttrace directly --- it calls call_ptrace instead,
|
|
||||||
which is supposed to be drop-in substitute for ptrace. In other
|
|
||||||
words, they access a 64-bit system call (ttrace) through a
|
|
||||||
compatibility layer which is allegedly a 32-bit interface.
|
|
||||||
|
|
||||||
So I don't feel the least bit guilty about this. */
|
|
||||||
#define PTRACE_ARG3_TYPE CORE_ADDR
|
|
||||||
|
|
||||||
/* We need to figure out where the text region is so that we use the
|
|
||||||
appropriate ptrace operator to manipulate text. Simply
|
|
||||||
reading/writing user space will crap out HPUX. */
|
|
||||||
#define DEPRECATED_HPUX_TEXT_END deprecated_hpux_text_end
|
|
||||||
extern void deprecated_hpux_text_end (struct target_ops *exec_ops);
|
|
||||||
|
|
||||||
/* In hppah-nat.c: */
|
|
||||||
#define FETCH_INFERIOR_REGISTERS
|
|
||||||
#define CHILD_XFER_MEMORY
|
|
||||||
#define CHILD_FOLLOW_FORK
|
|
||||||
|
|
||||||
/* In infptrace.c or infttrace.c: */
|
|
||||||
#define CHILD_PID_TO_EXEC_FILE
|
|
||||||
#define CHILD_POST_STARTUP_INFERIOR
|
|
||||||
#define CHILD_ACKNOWLEDGE_CREATED_INFERIOR
|
|
||||||
#define CHILD_INSERT_FORK_CATCHPOINT
|
|
||||||
#define CHILD_REMOVE_FORK_CATCHPOINT
|
|
||||||
#define CHILD_INSERT_VFORK_CATCHPOINT
|
|
||||||
#define CHILD_REMOVE_VFORK_CATCHPOINT
|
|
||||||
#define CHILD_INSERT_EXEC_CATCHPOINT
|
|
||||||
#define CHILD_REMOVE_EXEC_CATCHPOINT
|
|
||||||
#define CHILD_REPORTED_EXEC_EVENTS_PER_EXEC_CALL
|
|
||||||
#define CHILD_POST_ATTACH
|
|
||||||
#define CHILD_THREAD_ALIVE
|
|
||||||
#define CHILD_PID_TO_STR
|
|
||||||
#define CHILD_WAIT
|
|
||||||
struct target_waitstatus;
|
|
||||||
extern ptid_t child_wait (ptid_t, struct target_waitstatus *);
|
|
||||||
|
|
||||||
extern int hppa_require_attach (int);
|
|
||||||
extern int hppa_require_detach (int, int);
|
|
||||||
|
|
||||||
/* So we can cleanly use code in infptrace.c. */
|
|
||||||
#define PT_KILL PT_EXIT
|
|
||||||
#define PT_STEP PT_SINGLE
|
|
||||||
#define PT_CONTINUE PT_CONTIN
|
|
||||||
|
|
||||||
/* FIXME HP MERGE : Previously, PT_RDUAREA. this is actually fixed
|
|
||||||
in gdb-hp-snapshot-980509 */
|
|
||||||
#define PT_READ_U PT_RUAREA
|
|
||||||
#define PT_WRITE_U PT_WUAREA
|
|
||||||
#define PT_READ_I PT_RIUSER
|
|
||||||
#define PT_READ_D PT_RDUSER
|
|
||||||
#define PT_WRITE_I PT_WIUSER
|
|
||||||
#define PT_WRITE_D PT_WDUSER
|
|
||||||
|
|
||||||
/* In infptrace or infttrace.c: */
|
|
||||||
|
|
||||||
/* Starting with HP-UX 10.30, support is provided (in the form of
|
|
||||||
ttrace requests) for memory-protection-based hardware watchpoints.
|
|
||||||
|
|
||||||
The 10.30 implementation of these functions reside in infttrace.c.
|
|
||||||
|
|
||||||
Stubs of these functions will be provided in infptrace.c, so that
|
|
||||||
10.20 will at least link. However, the "can I use a fast watchpoint?"
|
|
||||||
query will always return "No" for 10.20. */
|
|
||||||
|
|
||||||
/* The PA can watch any number of locations (generic routines already check
|
|
||||||
that all intermediates are in watchable memory locations). */
|
|
||||||
extern int hppa_can_use_hw_watchpoint (int type, int cnt, int ot);
|
|
||||||
#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) \
|
|
||||||
hppa_can_use_hw_watchpoint(type, cnt, ot)
|
|
||||||
|
|
||||||
/* The PA can also watch memory regions of arbitrary size, since we're
|
|
||||||
using a page-protection scheme. (On some targets, apparently watch
|
|
||||||
registers are used, which can only accomodate regions of
|
|
||||||
DEPRECATED_REGISTER_SIZE.) */
|
|
||||||
#define TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(byte_count) \
|
|
||||||
(1)
|
|
||||||
|
|
||||||
/* On HP-UX, we're using page-protection to implement hardware watchpoints.
|
|
||||||
When an instruction attempts to write to a write-protected memory page,
|
|
||||||
a SIGBUS is raised. At that point, the write has not actually occurred.
|
|
||||||
|
|
||||||
We must therefore remove page-protections; single-step the inferior (to
|
|
||||||
allow the write to happen); restore page-protections; and check whether
|
|
||||||
any watchpoint triggered.
|
|
||||||
|
|
||||||
If none did, then the write was to a "nearby" location that just happens
|
|
||||||
to fall on the same page as a watched location, and so can be ignored.
|
|
||||||
|
|
||||||
The only intended client of this macro is wait_for_inferior(), in infrun.c.
|
|
||||||
When HAVE_NONSTEPPABLE_WATCHPOINT is true, that function will take care
|
|
||||||
of the stepping & etc. */
|
|
||||||
|
|
||||||
#define STOPPED_BY_WATCHPOINT(W) \
|
|
||||||
((W.kind == TARGET_WAITKIND_STOPPED) && \
|
|
||||||
(stop_signal == TARGET_SIGNAL_BUS) && \
|
|
||||||
! stepped_after_stopped_by_watchpoint && \
|
|
||||||
bpstat_have_active_hw_watchpoints ())
|
|
||||||
|
|
||||||
/* Our implementation of "hardware" watchpoints uses memory page-protection
|
|
||||||
faults. However, HP-UX has unfortunate interactions between these and
|
|
||||||
system calls; basically, it's unsafe to have page protections on when a
|
|
||||||
syscall is running. Therefore, we also ask for notification of syscall
|
|
||||||
entries and returns. When the inferior enters a syscall, we disable
|
|
||||||
h/w watchpoints. When the inferior returns from a syscall, we reenable
|
|
||||||
h/w watchpoints.
|
|
||||||
|
|
||||||
infptrace.c supplies dummy versions of these; infttrace.c is where the
|
|
||||||
meaningful implementations are.
|
|
||||||
*/
|
|
||||||
#define TARGET_ENABLE_HW_WATCHPOINTS(pid) \
|
|
||||||
hppa_enable_page_protection_events (pid)
|
|
||||||
extern void hppa_enable_page_protection_events (int);
|
|
||||||
|
|
||||||
#define TARGET_DISABLE_HW_WATCHPOINTS(pid) \
|
|
||||||
hppa_disable_page_protection_events (pid)
|
|
||||||
extern void hppa_disable_page_protection_events (int);
|
|
||||||
|
|
||||||
/* Use these macros for watchpoint insertion/deletion. */
|
|
||||||
extern int hppa_insert_hw_watchpoint (int pid, CORE_ADDR start, LONGEST len,
|
|
||||||
int type);
|
|
||||||
#define target_insert_watchpoint(addr, len, type) \
|
|
||||||
hppa_insert_hw_watchpoint (PIDGET (inferior_ptid), addr, (LONGEST)(len), type)
|
|
||||||
|
|
||||||
extern int hppa_remove_hw_watchpoint (int pid, CORE_ADDR start, LONGEST len,
|
|
||||||
int type);
|
|
||||||
#define target_remove_watchpoint(addr, len, type) \
|
|
||||||
hppa_remove_hw_watchpoint (PIDGET (inferior_ptid), addr, (LONGEST)(len), type)
|
|
||||||
|
|
||||||
/* We call our k-thread processes "threads", rather
|
|
||||||
* than processes. So we need a new way to print
|
|
||||||
* the string. Code is in hppah-nat.c.
|
|
||||||
*/
|
|
||||||
|
|
||||||
extern char *child_pid_to_str (ptid_t);
|
|
||||||
|
|
||||||
#define target_tid_to_str( ptid ) \
|
|
||||||
hppa_tid_to_str( ptid )
|
|
||||||
extern char *hppa_tid_to_str (ptid_t);
|
|
||||||
|
|
||||||
/* For this, ID can be either a process or thread ID, and the function
|
|
||||||
will describe it appropriately, returning the description as a printable
|
|
||||||
string.
|
|
||||||
|
|
||||||
The function that implements this macro is defined in infptrace.c and
|
|
||||||
infttrace.c.
|
|
||||||
*/
|
|
||||||
#define target_pid_or_tid_to_str(ID) \
|
|
||||||
hppa_pid_or_tid_to_str (ID)
|
|
||||||
extern char *hppa_pid_or_tid_to_str (ptid_t);
|
|
||||||
|
|
||||||
/* This is used when handling events caused by a call to vfork(). On ptrace-
|
|
||||||
based HP-UXs, when you resume the vforked child, the parent automagically
|
|
||||||
begins running again. To prevent this runaway, this function is used.
|
|
||||||
|
|
||||||
Note that for vfork on HP-UX, we receive three events of interest:
|
|
||||||
|
|
||||||
1. the vfork event for the new child process
|
|
||||||
2. the exit or exec event of the new child process (actually, you get
|
|
||||||
two exec events on ptrace-based HP-UXs)
|
|
||||||
3. the vfork event for the original parent process
|
|
||||||
|
|
||||||
The first is always received first. The other two may be received in any
|
|
||||||
order; HP-UX doesn't guarantee an order.
|
|
||||||
*/
|
|
||||||
#define ENSURE_VFORKING_PARENT_REMAINS_STOPPED(PID) \
|
|
||||||
hppa_ensure_vforking_parent_remains_stopped (PID)
|
|
||||||
extern void hppa_ensure_vforking_parent_remains_stopped (int);
|
|
||||||
|
|
||||||
/* This is used when handling events caused by a call to vfork().
|
|
||||||
|
|
||||||
On ttrace-based HP-UXs, the parent vfork and child exec arrive more or less
|
|
||||||
together. That is, you could do two wait()s without resuming either parent
|
|
||||||
or child, and get both events.
|
|
||||||
|
|
||||||
On ptrace-based HP-UXs, you must resume the child after its exec event is
|
|
||||||
delivered or you won't get the parent's vfork. I.e., you can't just wait()
|
|
||||||
and get the parent vfork, after receiving the child exec.
|
|
||||||
*/
|
|
||||||
#define RESUME_EXECD_VFORKING_CHILD_TO_GET_PARENT_VFORK() \
|
|
||||||
hppa_resume_execd_vforking_child_to_get_parent_vfork ()
|
|
||||||
extern int hppa_resume_execd_vforking_child_to_get_parent_vfork (void);
|
|
||||||
|
|
||||||
#define HPUXHPPA
|
|
||||||
|
|
||||||
#define MAY_FOLLOW_EXEC (1)
|
|
||||||
|
|
||||||
#include "infttrace.h" /* For parent_attach_all. */
|
|
|
@ -1,23 +0,0 @@
|
||||||
/* Native support for HPPA-RISC machine running HPUX 11.x, for GDB.
|
|
||||||
Copyright 1998 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. */
|
|
||||||
|
|
||||||
#define GDB_NATIVE_HPUX_11
|
|
||||||
|
|
||||||
#include "pa/nm-hppah.h"
|
|
|
@ -50,7 +50,6 @@ arm*-*-netbsdelf* | arm*-*-knetbsd*-gnu)
|
||||||
gdb_host=nbsdelf ;;
|
gdb_host=nbsdelf ;;
|
||||||
arm*-*-netbsd*) gdb_host=nbsdaout ;;
|
arm*-*-netbsd*) gdb_host=nbsdaout ;;
|
||||||
|
|
||||||
hppa*64*-*-hpux11*) gdb_host=hpux11w ;;
|
|
||||||
hppa*-*-hpux* | hppa*-*-hiux*)
|
hppa*-*-hpux* | hppa*-*-hiux*)
|
||||||
gdb_host=hpux ;;
|
gdb_host=hpux ;;
|
||||||
hppa*-*-linux*) gdb_host=linux ;;
|
hppa*-*-linux*) gdb_host=linux ;;
|
||||||
|
|
1440
gdb/hppah-nat.c
1440
gdb/hppah-nat.c
File diff suppressed because it is too large
Load Diff
5596
gdb/infttrace.c
5596
gdb/infttrace.c
File diff suppressed because it is too large
Load Diff
|
@ -1,36 +0,0 @@
|
||||||
/* Low level Unix child interface to ttrace, for GDB when running under HP-UX.
|
|
||||||
|
|
||||||
Copyright 2003, 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 INFTTRACE_H
|
|
||||||
#define INFTTRACE_H
|
|
||||||
|
|
||||||
enum target_waitkind;
|
|
||||||
|
|
||||||
extern int parent_attach_all (int, PTRACE_ARG3_TYPE, int);
|
|
||||||
extern pid_t hppa_switched_threads (pid_t gdb_pid);
|
|
||||||
extern int hpux_has_forked (int pid, int *childpid);
|
|
||||||
extern int hpux_has_vforked (int pid, int *childpid);
|
|
||||||
extern int hpux_has_execd (int pid, char **execd_pathname);
|
|
||||||
extern int hpux_has_syscall_event (int pid, enum target_waitkind *kind,
|
|
||||||
int *syscall_id);
|
|
||||||
extern int ttrace_write_reg_64 (int, CORE_ADDR, CORE_ADDR);
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue