aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-25 10:46:52 -0700
committerTom Tromey <tom@tromey.com>2023-01-26 18:28:32 -0700
commite8d8a0df4b35509c5fc051f1ff84b872f7f1bac0 (patch)
tree1a01d83fd31fa328cbf0ec0a63d4a83c1ed45c5a /gdb/testsuite/gdb.dwarf2/dwzbuildid.exp
parentb825d4a3de028fa9df6db149747b1c22575ebfd1 (diff)
downloadgdb-e8d8a0df4b35509c5fc051f1ff84b872f7f1bac0.zip
gdb-e8d8a0df4b35509c5fc051f1ff84b872f7f1bac0.tar.gz
gdb-e8d8a0df4b35509c5fc051f1ff84b872f7f1bac0.tar.bz2
Use clean_restart in gdb.dwarf2
Change gdb.dwarf2 to use clean_restart more consistently.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dwzbuildid.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dwzbuildid.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp b/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp
index 1b9ba8d..ba9db41 100644
--- a/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp
+++ b/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp
@@ -146,9 +146,7 @@ if {[gdb_compile [list ${binfile}1.o ${binfile}6.o] ${binfile}-fallback \
foreach testname {ok mismatch fallback} {
with_test_prefix $testname {
- gdb_exit
- gdb_start
- gdb_reinitialize_dir $srcdir/$subdir
+ clean_restart
gdb_test_no_output "set debug-file-directory $debugdir" \
"set debug-file-directory"