From 1759b3c3d8ee440509ed1e4a2a34eb7ef4c12d95 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 18 Aug 2001 21:34:28 +0000 Subject: [PATCH] * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to beginning of function. Fix PR gdb/191. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/lib/mi-support.exp | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ba58af6d589..bf7e12beb6a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-08-18 Andrew Cagney + + * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to + beginning of function. Fix PR gdb/191. + 2001-08-16 Frank Ch. Eigler * config/sid.exp (sid_start): Don't warn if we cannot figure out diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 2f48ebef1b1..b3c01ec6dbe 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; } -- 2.30.2