aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-02-23 13:24:03 -0700
committerTom Tromey <tromey@adacore.com>2024-02-27 10:30:29 -0700
commitec471b627aa76fa8ac1f103ecabd73e304e952c8 (patch)
tree4c9a42d2f8de916023664f719ef10218a94c266d /gdb/top.c
parentbeadf912845c9c37c5afeadd77635950cf697d9f (diff)
downloadgdb-ec471b627aa76fa8ac1f103ecabd73e304e952c8.zip
gdb-ec471b627aa76fa8ac1f103ecabd73e304e952c8.tar.gz
gdb-ec471b627aa76fa8ac1f103ecabd73e304e952c8.tar.bz2
Change finalize_values into a final cleanup
This removes finalize_values in favor of adding a new final cleanup. This is safe now that extension languages are explicitly shut down.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 67d6670..cf7d3a9 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1803,12 +1803,6 @@ quit_force (int *exit_arg, int from_tty)
exception_print (gdb_stderr, ex);
}
- /* Destroy any values currently allocated now instead of leaving it
- to global destructors, because that may be too late. For
- example, the destructors of xmethod values call into the Python
- runtime, which is finalized via a final cleanup. */
- finalize_values ();
-
/* Do any final cleanups before exiting. */
try
{