2004-04-06 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 6 Apr 2004 17:56:01 +0000 (17:56 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 6 Apr 2004 17:56:01 +0000 (17:56 +0000)
* 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.

gdb/ChangeLog
gdb/Makefile.in
gdb/hppah-nat.c
gdb/infttrace.h

index da5f301..c2509e6 100644 (file)
@@ -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): 
index 555badc..f846a86 100644 (file)
@@ -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) \
index ea4015a..98ea60d 100644 (file)
 #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;
 
index d3330e3..b3f4092 100644 (file)
@@ -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.
 
 
 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