gdb/testsuite/

* gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
	Add final kill of ${valgrind_pid}.
This commit is contained in:
Jan Kratochvil 2013-02-27 18:46:52 +00:00
parent e1f58301dd
commit 6447023f09
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
Add final kill of ${valgrind_pid}.
2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
* gdb.python/py-arch.c: New test case

View File

@ -79,6 +79,7 @@ gdb_test_multiple "" $test {
}
# Do not kill valgrind.
set valgrind_pid [exp_pid -i [board_info host fileid]]
unset gdb_spawn_id
set board [host_info name]
unset_board_info fileid
@ -122,3 +123,6 @@ gdb_test_multiple $test $test {
pass $test
}
}
# Only if valgrind got stuck.
remote_exec host "kill -9 ${valgrind_pid}"