From: Jan Kratochvil Date: Tue, 15 May 2012 13:08:58 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Tag: sid-snapshot-20120601~200 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01429c8e86c5091fe00c994c856e074c41f8218d;p=external%2Fbinutils.git gdb/testsuite/ PR testsuite/12649 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 87882e1..cdaa386 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-05-15 Jan Kratochvil + + PR testsuite/12649 + * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main. + 2012-05-14 Sergio Durigan Junior * gdb.base/stap-probe.exp (stap_test): Remove calls to diff --git a/gdb/testsuite/gdb.base/dprintf.exp b/gdb/testsuite/gdb.base/dprintf.exp index 76f5fc5..1d4e8da 100644 --- a/gdb/testsuite/gdb.base/dprintf.exp +++ b/gdb/testsuite/gdb.base/dprintf.exp @@ -24,7 +24,9 @@ set bp_location1 [gdb_get_line_number "set breakpoint 1 here"] set dp_location1 [gdb_get_line_number "set dprintf 1 here"] gdb_breakpoint "main" -gdb_run_cmd +if ![runto main] { + return -1 +} gdb_test "dprintf" "Format string required"