diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-25 14:55:12 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-26 18:28:32 -0700 |
commit | c95d486d35f87b4e32941f20bed56f57ebd58d8b (patch) | |
tree | f8418e7af4415599c1bf09bbdc9d6fcf05527b5e /gdb/testsuite/gdb.base/unload.exp | |
parent | 9b2234b063eb8e08be1fccc7d830fb7065cd06ae (diff) | |
download | gdb-c95d486d35f87b4e32941f20bed56f57ebd58d8b.zip gdb-c95d486d35f87b4e32941f20bed56f57ebd58d8b.tar.gz gdb-c95d486d35f87b4e32941f20bed56f57ebd58d8b.tar.bz2 |
Use clean_restart in gdb.base
Change gdb.base to use clean_restart more consistently.
Diffstat (limited to 'gdb/testsuite/gdb.base/unload.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/unload.exp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.base/unload.exp b/gdb/testsuite/gdb.base/unload.exp index 3e340e9..76b061c 100644 --- a/gdb/testsuite/gdb.base/unload.exp +++ b/gdb/testsuite/gdb.base/unload.exp @@ -50,12 +50,7 @@ if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" return -1 } -# Start with a fresh gdb. - -gdb_exit -gdb_start -gdb_reinitialize_dir $srcdir/$subdir -gdb_load ${binfile} +clean_restart $binfile gdb_load_shlib $lib_sl gdb_load_shlib $lib_sl2 |