diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.server/server-run.exp | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 053e12e..ac4b6e1 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2021-01-04 Simon Marchi <simon.marchi@efficios.com> + * gdb.server/server-run.exp: Use clean_restart. + +2021-01-04 Simon Marchi <simon.marchi@efficios.com> + * gdb.server/ext-run.exp: Use clean_restart. 2021-01-04 Simon Marchi <simon.marchi@efficios.com> diff --git a/gdb/testsuite/gdb.server/server-run.exp b/gdb/testsuite/gdb.server/server-run.exp index 6b39271..72ba02c 100644 --- a/gdb/testsuite/gdb.server/server-run.exp +++ b/gdb/testsuite/gdb.server/server-run.exp @@ -29,16 +29,13 @@ if {[build_executable $testfile.exp $testfile $srcfile debug] == -1} { return -1 } -gdb_exit -gdb_start -gdb_load $binfile +clean_restart $binfile # Make sure we're disconnected, in case we're testing with an # extended-remote board, therefore already connected. gdb_test "disconnect" ".*" gdbserver_run "" -gdb_reinitialize_dir $srcdir/$subdir # We are now stopped at the program's entry point. On targets which use # SVR4 dynamic linking, we should have automatically loaded symbols for |