2004-04-06 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 6 Apr 2004 18:29:10 +0000 (18:29 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 6 Apr 2004 18:29:10 +0000 (18:29 +0000)
* infttrace.c: Include "infttrace.h".
* infttrace.h: Include "target.h".
* Makefile.in (infttrace_h): Update.
(infttrace.o): Update.

gdb/ChangeLog
gdb/Makefile.in
gdb/infttrace.c
gdb/infttrace.h

index c2509e60772e64ecac775a056f6c2f339de49fae..b36ee1fadb15ffcf4f27aed1162969bf6b9c1bf4 100644 (file)
@@ -1,3 +1,10 @@
+2004-04-06  Andrew Cagney  <cagney@redhat.com>
+
+       * infttrace.c: Include "infttrace.h".
+       * infttrace.h: Include "target.h".
+       * Makefile.in (infttrace_h): Update.
+       (infttrace.o): Update.
+       
 2004-04-06  Andrew Cagney  <cagney@redhat.com>
 
        * hppah-nat.c (hpux_has_forked, hpux_has_vforked)
index f846a86d515307d810b005c69d4e3ca88689a6b6..f0727fe8b06daed6c064bb1d32d8600fd3efaba9 100644 (file)
@@ -692,7 +692,7 @@ infcall_h = infcall.h
 inferior_h = inferior.h $(breakpoint_h) $(target_h) $(frame_h)
 inf_loop_h = inf-loop.h
 inflow_h = inflow.h $(terminal_h)
-infttrace_h = infttrace.h
+infttrace_h = infttrace.h $(target_h)
 interps_h = interps.h
 jv_lang_h = jv-lang.h
 kod_h = kod.h
@@ -1931,7 +1931,7 @@ inftarg.o: inftarg.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
        $(gdbcore_h) $(command_h) $(gdb_stat_h) $(gdb_wait_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) \
-       $(gdbcore_h)
+       $(gdbcore_h) $(infttrace_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) \
        $(gdb_events_h) $(gdb_assert_h) $(top_h)
index 3f76edbbd1a8858653b698df61e95cae6b9e583a..06bb4b3b07cd8181e84b02b622f18b854e77d8fb 100644 (file)
@@ -28,6 +28,7 @@
 #include "gdb_wait.h"
 #include "command.h"
 #include "gdbthread.h"
+#include "infttrace.h"
 
 /* We need pstat functionality so that we can get the exec file
    for a process we attach to.
index b3f4092ff053269bcd95115fe6c4508f919234f4..44786d949fae94e6be76c67391af725f2a7b12ef 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef INFTTRACE_H
 #define INFTTRACE_H
 
+#include "target.h"            /* For 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);