diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2007-11-15 06:24:17 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2007-11-15 06:24:17 +0000 |
commit | a4df8f2752286fedb93ec5c29d6421902b2915b7 (patch) | |
tree | 636566c87febf18c159d943118144e32ba4dc54a /gdb/jv-lang.c | |
parent | 3e9527486deb003776f91efa24162f4716437356 (diff) | |
download | gdb-a4df8f2752286fedb93ec5c29d6421902b2915b7.tar.gz |
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/jv-lang.c')
-rw-r--r-- | gdb/jv-lang.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c index a426d6175f3..e3c62993c63 100644 --- a/gdb/jv-lang.c +++ b/gdb/jv-lang.c @@ -1133,25 +1133,3 @@ _initialize_java_language (void) add_language (&java_language_defn); } - -/* Cleanup code that should be run on every "run". - We should use make_run_cleanup to have this be called. - But will that mess up values in value histry? FIXME */ - -extern void java_rerun_cleanup (void); -void -java_rerun_cleanup (void) -{ - if (class_symtab != NULL) - { - free_symtab (class_symtab); /* ??? */ - class_symtab = NULL; - } - if (dynamics_objfile != NULL) - { - free_objfile (dynamics_objfile); - dynamics_objfile = NULL; - } - - java_object_type = NULL; -} |