diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-05-15 13:08:58 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-05-15 13:08:58 +0000 |
commit | 01429c8e86c5091fe00c994c856e074c41f8218d (patch) | |
tree | 7d02485073e8ff7d5732ce93e10d9d2fc3a9eeb6 | |
parent | 6927f98292aaa6f7fcb3152d5d902758538e626c (diff) | |
download | fsf-binutils-gdb-01429c8e86c5091fe00c994c856e074c41f8218d.zip fsf-binutils-gdb-01429c8e86c5091fe00c994c856e074c41f8218d.tar.gz fsf-binutils-gdb-01429c8e86c5091fe00c994c856e074c41f8218d.tar.bz2 |
gdb/testsuite/
PR testsuite/12649
* gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/dprintf.exp | 4 |
2 files changed, 8 insertions, 1 deletions
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 <jan.kratochvil@redhat.com> + + PR testsuite/12649 + * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main. + 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com> * 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" |