aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-04-06 17:56:01 +0000
committerAndrew Cagney <cagney@redhat.com>2004-04-06 17:56:01 +0000
commit6d5189699cd755651791c79e9a4ab7c23484267b (patch)
tree803010a984a92847f38aa849fe736db223596195
parent85f4f2d828508af01a3726a13c73b082c4a760be (diff)
downloadgdb-6d5189699cd755651791c79e9a4ab7c23484267b.zip
gdb-6d5189699cd755651791c79e9a4ab7c23484267b.tar.gz
gdb-6d5189699cd755651791c79e9a4ab7c23484267b.tar.bz2
2004-04-06 Andrew Cagney <cagney@redhat.com>
* hppah-nat.c (hpux_has_forked, hpux_has_vforked) (hpux_has_execd, hpux_has_syscall_event): Include "infttrace.h", move extern declarations from here ... * infttrace.h: ... to here. * Makefile.in (hppah-nat.o): Update dependencies.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/Makefile.in2
-rw-r--r--gdb/hppah-nat.c6
-rw-r--r--gdb/infttrace.h7
4 files changed, 14 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index da5f301..c2509e6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2004-04-06 Andrew Cagney <cagney@redhat.com>
+ * hppah-nat.c (hpux_has_forked, hpux_has_vforked)
+ (hpux_has_execd, hpux_has_syscall_event): Include "infttrace.h",
+ move extern declarations from here ...
+ * infttrace.h: ... to here.
+ * Makefile.in (hppah-nat.o): Update dependencies.
+
* hppa-tdep.c (hppa_breakpoint_from_pc): Make static.
(hppa_gdbarch_init): Set gdbarch_breakpoint_from_pc
* config/pa/tm-hppa.h (BREAKPOINT_FROM_PC, BREAKPOINT32):
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 555badc..f846a86 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1816,7 +1816,7 @@ h8300-tdep.o: h8300-tdep.c $(defs_h) $(value_h) $(inferior_h) $(symfile_h) \
hpacc-abi.o: hpacc-abi.c $(defs_h) $(value_h) $(gdb_regex_h) $(gdb_string_h) \
$(gdbtypes_h) $(gdbcore_h) $(cp_abi_h)
hppah-nat.o: hppah-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
- $(gdb_wait_h) $(regcache_h) $(gdb_string_h)
+ $(gdb_wait_h) $(regcache_h) $(gdb_string_h) $(infttrace_h)
hppa-hpux-tdep.o: hppa-hpux-tdep.c $(defs_h) $(arch_utils_h) $(gdbcore_h) \
$(osabi_h) $(gdb_string_h) $(frame_h)
hppa-tdep.o: hppa-tdep.c $(defs_h) $(frame_h) $(bfd_h) $(inferior_h) \
diff --git a/gdb/hppah-nat.c b/gdb/hppah-nat.c
index ea4015a..98ea60d 100644
--- a/gdb/hppah-nat.c
+++ b/gdb/hppah-nat.c
@@ -32,13 +32,9 @@
#include "gdb_wait.h"
#include "regcache.h"
#include "gdb_string.h"
+#include "infttrace.h"
#include <signal.h>
-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);
static CORE_ADDR text_end;
diff --git a/gdb/infttrace.h b/gdb/infttrace.h
index d3330e3..b3f4092 100644
--- a/gdb/infttrace.h
+++ b/gdb/infttrace.h
@@ -1,6 +1,6 @@
/* Low level Unix child interface to ttrace, for GDB when running under HP-UX.
- Copyright 2003 Free Software Foundation, Inc.
+ Copyright 2003, 2004 Free Software Foundation, Inc.
This file is part of GDB.
@@ -24,5 +24,10 @@
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);
#endif