mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
* gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
failure return path.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
|
* gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
|
||||||
|
failure return path.
|
||||||
|
|
||||||
2012-02-27 Luis Machado <lgustavo@codesourcery.com>
|
2012-02-27 Luis Machado <lgustavo@codesourcery.com>
|
||||||
|
|
||||||
* gdb.base/save-bp.exp: Account for new condition evaluator output.
|
* gdb.base/save-bp.exp: Account for new condition evaluator output.
|
||||||
|
@ -46,7 +46,7 @@ proc test_breakpoint {name} {
|
|||||||
# lead to a cascade.
|
# lead to a cascade.
|
||||||
if ![runto_main] then {
|
if ![runto_main] then {
|
||||||
perror "couldn't run to main when testing ${name}"
|
perror "couldn't run to main when testing ${name}"
|
||||||
continue
|
return -code continue
|
||||||
} else {
|
} else {
|
||||||
gdb_breakpoint "${name}"
|
gdb_breakpoint "${name}"
|
||||||
gdb_test "continue" "Continuing.\r\n\r\nBreakpoint \[0-9\]*, ${name}.*" "continue to ${name}"
|
gdb_test "continue" "Continuing.\r\n\r\nBreakpoint \[0-9\]*, ${name}.*" "continue to ${name}"
|
||||||
|
Reference in New Issue
Block a user