aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-prompt.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/py-prompt.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-prompt.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-prompt.exp b/gdb/testsuite/gdb.python/py-prompt.exp
index 262f388..a266063 100644
--- a/gdb/testsuite/gdb.python/py-prompt.exp
+++ b/gdb/testsuite/gdb.python/py-prompt.exp
@@ -125,4 +125,5 @@ gdb_test "python print (\"'\" + str(p\[0\]) + \"'\")" "'$gdb_prompt_fail '" \
gdb_exit
set GDBFLAGS $saved_gdbflags
+exec kill -9 ${testpid}
return 0