From 603942cc64cda6899670f0ab1f0560bbdb515965 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 23 Nov 2003 23:13:00 +0000 Subject: [PATCH] 2003-11-23 Andrew Cagney * Makefile.in (infrun.o): Update dependencies. * infrun.c: Include "exec.h". (handle_inferior_event): Pass exec_ops to SOLIB_ADD. --- gdb/ChangeLog | 6 ++++++ gdb/Makefile.in | 2 +- gdb/infrun.c | 5 +++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 44eeada..b53011d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2003-11-23 Andrew Cagney + * Makefile.in (infrun.o): Update dependencies. + * infrun.c: Include "exec.h". + (handle_inferior_event): Pass exec_ops to SOLIB_ADD. + +2003-11-23 Andrew Cagney + * frame.c (frame_unwind_signed_register): Delete function. * frame.h (frame_unwind_register_signed): Delete declaration. * mips-tdep.c (mips_frame_saved_pc): Use frame_unwind_register_signed. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index e281f3b..70f3abd 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1936,7 +1936,7 @@ 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) \ - $(observer_h) $(language_h) + $(observer_h) $(language_h) $(exec_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 76ba71e..0b85cc6 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -44,6 +44,7 @@ #include "value.h" #include "observer.h" #include "language.h" +#include "exec.h" /* Prototypes for local functions */ @@ -1362,7 +1363,7 @@ handle_inferior_event (struct execution_control_state *ecs) terminal for any messages produced by breakpoint_re_set. */ target_terminal_ours_for_output (); - SOLIB_ADD (NULL, 0, NULL, auto_solib_add); + SOLIB_ADD (NULL, 0, &exec_ops, auto_solib_add); target_terminal_inferior (); /* Reinsert breakpoints and continue. */ @@ -2185,7 +2186,7 @@ process_event_stop_test: terminal for any messages produced by breakpoint_re_set. */ target_terminal_ours_for_output (); - SOLIB_ADD (NULL, 0, NULL, auto_solib_add); + SOLIB_ADD (NULL, 0, &exec_ops, auto_solib_add); target_terminal_inferior (); /* Try to reenable shared library breakpoints, additional -- 2.7.4