X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.base%2Fvalgrind-db-attach.exp;h=98cc07a7d12f8f38008fb8a2a4e87d2ffbd79e0d;hb=a391a2f6df2553b9d2e0cf4bc8c58e85d73137ae;hp=48003e51cbd078fbc20e7052f8883ad4599489d7;hpb=85bc8cb7855e8ae9ba6e207ed557f849479c41c0;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/gdb.base/valgrind-db-attach.exp b/gdb/testsuite/gdb.base/valgrind-db-attach.exp index 48003e51cb..98cc07a7d1 100644 --- a/gdb/testsuite/gdb.base/valgrind-db-attach.exp +++ b/gdb/testsuite/gdb.base/valgrind-db-attach.exp @@ -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"