diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-23 23:13:00 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-23 23:13:00 +0000 |
commit | fc4c1fa8495de3b45c1357807260023fc6c5f114 (patch) | |
tree | dd4edd5a029e72e27ccae15091d4e27d1941dfda /gdb/infrun.c | |
parent | b5aa181d3e5499411b3c07544914bb06f40201a1 (diff) | |
download | gdb-fc4c1fa8495de3b45c1357807260023fc6c5f114.tar.gz |
2003-11-23 Andrew Cagney <cagney@redhat.com>
* Makefile.in (infrun.o): Update dependencies.
* infrun.c: Include "exec.h".
(handle_inferior_event): Pass exec_ops to SOLIB_ADD.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 76ba71e7207..0b85cc691c1 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 |