diff options
Diffstat (limited to 'gdb/testsuite/gdb.server/file-transfer.exp')
-rw-r--r-- | gdb/testsuite/gdb.server/file-transfer.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.server/file-transfer.exp b/gdb/testsuite/gdb.server/file-transfer.exp index 6b48b0236e0..12e8f26a7bc 100644 --- a/gdb/testsuite/gdb.server/file-transfer.exp +++ b/gdb/testsuite/gdb.server/file-transfer.exp @@ -36,6 +36,10 @@ gdb_start gdb_load $binfile gdb_reinitialize_dir $srcdir/$subdir +# Make sure we're disconnected, in case we're testing with an +# extended-remote board, therefore already connected. +gdb_test "disconnect" ".*" + gdbserver_run "" proc test_file_transfer { filename description } { |