diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-02-27 20:48:25 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-02-27 20:48:25 +0000 |
commit | 5a41c0b7916da04800d65443a80e163e7c2d9399 (patch) | |
tree | a0e37844c09bdec51087476f45e337586e131cd7 /gdb/testsuite/gdb.cp | |
parent | cb2cf4ce192f78f24ca010ecc21eae8b2b18c337 (diff) | |
download | gdb-5a41c0b7916da04800d65443a80e163e7c2d9399.zip gdb-5a41c0b7916da04800d65443a80e163e7c2d9399.tar.gz gdb-5a41c0b7916da04800d65443a80e163e7c2d9399.tar.bz2 |
* gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
failure return path.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r-- | gdb/testsuite/gdb.cp/breakpoint.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/breakpoint.exp b/gdb/testsuite/gdb.cp/breakpoint.exp index 53b29c3..4793a93 100644 --- a/gdb/testsuite/gdb.cp/breakpoint.exp +++ b/gdb/testsuite/gdb.cp/breakpoint.exp @@ -46,7 +46,7 @@ proc test_breakpoint {name} { # lead to a cascade. if ![runto_main] then { perror "couldn't run to main when testing ${name}" - continue + return -code continue } else { gdb_breakpoint "${name}" gdb_test "continue" "Continuing.\r\n\r\nBreakpoint \[0-9\]*, ${name}.*" "continue to ${name}" |