Remove MULTI_OBJFILE_P
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.server / server-exec-info.exp
index c12554afe8176dc6bf4ecc101105cb11a561ef8e..a6858f4e7358826374b5ee1499d4da09fcebfccf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2015 Free Software Foundation, Inc.
+# Copyright (C) 2012-2019 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -23,10 +23,14 @@ if {[skip_gdbserver_tests] || [skip_shlib_tests]} {
 }
 
 standard_testfile server.c
-if [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] {
+if [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] {
     return -1
 }
 
+# Make sure we're disconnected, in case we're testing with an
+# extended-remote board, therefore already connected.
+gdb_test "disconnect" ".*"
+
 gdb_test_no_output "set remote pid-to-exec-file-packet off"
 gdb_test "file" ".*" "file" \
         {Discard symbol table from `.*'\? \(y or n\) } "y"
This page took 0.023742 seconds and 4 git commands to generate.