gdb/testsuite/

* gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
This commit is contained in:
Daniel Jacobowitz 2009-11-13 22:28:54 +00:00
parent 97a5b505d2
commit a78817594d
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/freebpcmd.exp: Delete unused variable. Specify

View File

@ -247,7 +247,10 @@ proc do_tests {} {
gdb_test "set language c++" "" ""
gdb_test "set width 0" "" ""
runto_main
if ![runto_main] then {
perror "couldn't run to breakpoint"
return
}
test_ptype_of_classes
gdb_breakpoint test_calls