gdb/testsuite/

PR testsuite/12649
	* gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
This commit is contained in:
Jan Kratochvil 2012-05-15 13:08:58 +00:00
parent 6927f98292
commit 01429c8e86
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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"