2011-09-08 Pedro Alves <pedro@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / valgrind-db-attach.exp
index 48003e51cbd078fbc20e7052f8883ad4599489d7..98cc07a7d12f8f38008fb8a2a4e87d2ffbd79e0d 100644 (file)
@@ -83,3 +83,6 @@ gdb_test_no_output "set height 0"
 gdb_test_no_output "set width 0"
 
 gdb_test "bt" "in main \\(.*\\) at .*${srcfile}:$double_free"
+
+# Explicitly kill the program so it doesn't dump core when we quit->detach.
+gdb_test "kill" "" "kill program" "Kill the program being debugged.*y or n. $" "y"
This page took 0.033023 seconds and 4 git commands to generate.