gdb/testsuite/

Fix for gdbserver non-extended mode.
	* gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
	and gdb_run_cmd.
This commit is contained in:
Jan Kratochvil
2012-02-19 13:05:28 +00:00
parent 16c6881de2
commit 6bec5e0a45
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix for gdbserver non-extended mode.
* gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
and gdb_run_cmd.
2012-02-17 Tom Tromey <tromey@redhat.com>
* gdb.python/py-events.py (exit_handler): Add test for 'dir'.

View File

@ -18,7 +18,9 @@ if { [prepare_for_testing break-inline.exp "break-inline" {} {debug nowarnings o
return -1
}
gdb_test "start" "Temporary breakpoint.*foo().*"
gdb_breakpoint "main" "temporary"
gdb_run_cmd
gdb_test "" "Temporary breakpoint.*foo\\(\\).*"
# Now test 'break' with no arguments.
gdb_test "break" "Breakpoint.*"