diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.server/solib-list.exp | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 36644bb..079814a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2021-01-04 Simon Marchi <simon.marchi@efficios.com> + + * gdb.server/solib-list.exp: Use clean_restart. + 2021-01-04 Tom de Vries <tdevries@suse.de> * gdb.base/morestack.c: Remove printf. diff --git a/gdb/testsuite/gdb.server/solib-list.exp b/gdb/testsuite/gdb.server/solib-list.exp index 3d9adb1..c4934ed 100644 --- a/gdb/testsuite/gdb.server/solib-list.exp +++ b/gdb/testsuite/gdb.server/solib-list.exp @@ -42,12 +42,7 @@ set interp_system [section_get ${binfile} .interp] verbose -log "system interpreter is: $interp_system" foreach nonstop { 0 1 } { with_test_prefix "non-stop $nonstop" { - - # clean_restart assumes ${objdir}/${subdir}/ which is not applicable - # for ${interp_system}. - gdb_exit - gdb_start - gdb_reinitialize_dir $srcdir/$subdir + clean_restart gdb_load_shlib ${binlibfile} set remote_binfile [gdb_remote_download target $binfile] |