aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.server/non-existing-program.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.server/non-existing-program.exp')
-rw-r--r--gdb/testsuite/gdb.server/non-existing-program.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.server/non-existing-program.exp b/gdb/testsuite/gdb.server/non-existing-program.exp
index f842c44..63a9cb7 100644
--- a/gdb/testsuite/gdb.server/non-existing-program.exp
+++ b/gdb/testsuite/gdb.server/non-existing-program.exp
@@ -61,3 +61,7 @@ expect {
fail "$msg (timeout)"
}
}
+
+# expect defaults to spawn_id in many places. Avoid confusing any
+# following code.
+unset spawn_id