aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2007-11-15 06:24:17 +0000
committerVladimir Prus <vladimir@codesourcery.com>2007-11-15 06:24:17 +0000
commit615b9dba457a9d625112f48bb3171baa710750ea (patch)
tree5a0fffb98fb0320b5d082abb2d230541d5caf839 /gdb/infcmd.c
parent7a72d44c5c8311b4109ccb0e3e3e8cd650c49177 (diff)
downloadgdb-615b9dba457a9d625112f48bb3171baa710750ea.zip
gdb-615b9dba457a9d625112f48bb3171baa710750ea.tar.gz
gdb-615b9dba457a9d625112f48bb3171baa710750ea.tar.bz2
Remove 'run_cleanup'.
* defs.h (do_run_cleanups, make_run_cleanup): Remove declarations. * infcmd.c (run_command_1): Call clear_solib instead of do_run_cleanups. * jv-lang.c (java_rerun_cleanup): Remove, for lack of any use. * solib.c (solib_cleanup_queued, do_clear_solib): Remove. (update_solib_lib): Don't setup run cleanup. (no_shared_libraries): Call clear_solib, not do_clear_solib. * utils.c (run_cleanup_chain, make_run_cleanup) (do_run_cleanups): Remove.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 079d586..e8ac46a 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -482,7 +482,7 @@ run_command_1 (char *args, int from_tty, int tbreak_at_main)
/* Purge old solib objfiles. */
objfile_purge_solibs ();
- do_run_cleanups (NULL);
+ clear_solib ();
/* The comment here used to read, "The exec file is re-read every
time we do a generic_mourn_inferior, so we just have to worry