]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.python/py-prompt.exp
gdb.python/py-prompt.exp: restore GDBFLAGS
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.python / py-prompt.exp
index 55f0f5966ebd5f86dc9781ff05b42f94bb233638..0f7a3a4bb11c05523de7a845a491b168bd6e8bf2 100644 (file)
@@ -76,6 +76,7 @@ gdb_test "python print (\"'\" + str(p\[0\]) + \"'\")" "'$gdb_prompt_fail '" \
 gdb_exit
 
 if {![can_spawn_for_attach]} {
+    set GDBFLAGS $saved_gdbflags
     return 0
 }