diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-11 16:09:33 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-11 16:09:33 +0000 |
commit | 3c35e65b000b530bf71bb4e283e237134d97c5ec (patch) | |
tree | 61f1d84c0d506be6106925f548fda85ed461eea0 /gdb/infcmd.c | |
parent | 180b9a0ebe21aa66c83f64f2be28e045abaf14cf (diff) | |
download | gdb-3c35e65b000b530bf71bb4e283e237134d97c5ec.zip gdb-3c35e65b000b530bf71bb4e283e237134d97c5ec.tar.gz gdb-3c35e65b000b530bf71bb4e283e237134d97c5ec.tar.bz2 |
* fork-child.c (startup_inferior): Use target_wait and target_resume
directly instead of calling wait_for_inferior / resume.
* infcmd.c (kill_if_already_running): Do not call no_shared_libraries
or init_wait_for_inferior.
(run_command_1): Call init_wait_for_inferior.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index ca11aa5..6ffc97f 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -431,8 +431,6 @@ kill_if_already_running (int from_tty) Start it from the beginning? ")) error (_("Program not restarted.")); target_kill (); - no_shared_libraries (NULL, from_tty); - init_wait_for_inferior (); } } @@ -448,6 +446,8 @@ run_command_1 (char *args, int from_tty, int tbreak_at_main) dont_repeat (); kill_if_already_running (from_tty); + + init_wait_for_inferior (); clear_breakpoint_hit_counts (); /* Clean up any leftovers from other runs. Some other things from |