* infrun.c (observer.h): Add #include.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 18 Mar 2003 19:06:54 +0000 (19:06 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 18 Mar 2003 19:06:54 +0000 (19:06 +0000)
        (normal_stop): Add call to observer_notify_normal_stop.
        * Makefile.in (infrun.o): Add dependency on observer.h.

gdb/ChangeLog
gdb/Makefile.in
gdb/infrun.c

index 6a154e2..17001c6 100644 (file)
@@ -1,5 +1,11 @@
 2003-03-18  J. Brobecker  <brobecker@gnat.com>
 
+       * infrun.c (observer.h): Add #include.
+       (normal_stop): Add call to observer_notify_normal_stop.
+       * Makefile.in (infrun.o): Add dependency on observer.h.
+
+2003-03-18  J. Brobecker  <brobecker@gnat.com>
+
        Continuing work to convert the hppa targets to multiarch partial.
        * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
        parameter. Reformat comment.
index b997c90..a8eaab9 100644 (file)
@@ -1817,7 +1817,8 @@ infptrace.o: infptrace.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
 infrun.o: infrun.c $(defs_h) $(gdb_string_h) $(symtab_h) $(frame_h) \
        $(inferior_h) $(breakpoint_h) $(gdb_wait_h) $(gdbcore_h) $(gdbcmd_h) \
        $(cli_script_h) $(target_h) $(gdbthread_h) $(annotate_h) \
-       $(symfile_h) $(top_h) $(inf_loop_h) $(regcache_h) $(value_h)
+       $(symfile_h) $(top_h) $(inf_loop_h) $(regcache_h) $(value_h) \
+       $(observer_h)
 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) \
index f65af35..d4e454c 100644 (file)
@@ -42,6 +42,7 @@
 #include "inf-loop.h"
 #include "regcache.h"
 #include "value.h"
+#include "observer.h"
 
 /* Prototypes for local functions */
 
@@ -3113,6 +3114,7 @@ normal_stop (void)
 
 done:
   annotate_stopped ();
+  observer_notify_normal_stop ();
 }
 
 static int