aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-08-18 21:34:28 +0000
committerAndrew Cagney <cagney@redhat.com>2001-08-18 21:34:28 +0000
commit1759b3c3d8ee440509ed1e4a2a34eb7ef4c12d95 (patch)
tree63c1b2b2d6cdebdf336c341e78f207117dd6411a /gdb/testsuite/lib
parente87a02842a05cf353653b052aba7d86f65dbde35 (diff)
downloadgdb-1759b3c3d8ee440509ed1e4a2a34eb7ef4c12d95.zip
gdb-1759b3c3d8ee440509ed1e4a2a34eb7ef4c12d95.tar.gz
gdb-1759b3c3d8ee440509ed1e4a2a34eb7ef4c12d95.tar.bz2
* lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
beginning of function. Fix PR gdb/191.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/mi-support.exp12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp
index 2f48ebe..b3c01ec 100644
--- a/gdb/testsuite/lib/mi-support.exp
+++ b/gdb/testsuite/lib/mi-support.exp
@@ -99,6 +99,12 @@ proc mi_gdb_start { } {
gdb_stop_suppressing_tests;
+ # Start SID.
+ if { [info procs sid_start] != "" } {
+ verbose "Spawning SID"
+ sid_start
+ }
+
verbose "Spawning $GDB -nw $GDBFLAGS $MIFLAGS"
if [info exists gdb_spawn_id] {
@@ -170,12 +176,6 @@ proc mi_gdb_start { } {
}
}
- # Finally start SID.
- if { [info procs sid_start] != "" } {
- verbose "Spawning SID"
- sid_start
- }
-
return 0;
}