From 06600e06816a57df8dbd003b4471d67bedc5286e Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Tue, 18 Mar 2003 19:06:54 +0000 Subject: [PATCH] * infrun.c (observer.h): Add #include. (normal_stop): Add call to observer_notify_normal_stop. * Makefile.in (infrun.o): Add dependency on observer.h. --- gdb/ChangeLog | 6 ++++++ gdb/Makefile.in | 3 ++- gdb/infrun.c | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6a154e2e78..17001c63f6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2003-03-18 J. Brobecker + + * 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 Continuing work to convert the hppa targets to multiarch partial. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index b997c90489..a8eaab992f 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -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) \ diff --git a/gdb/infrun.c b/gdb/infrun.c index f65af358a0..d4e454cae6 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -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