From 6bec5e0a45fae5a59504bae5eb6498c835e1db9d Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Sun, 19 Feb 2012 13:05:28 +0000 Subject: gdb/testsuite/ Fix for gdbserver non-extended mode. * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint and gdb_run_cmd. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.base/break-inline.exp | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'gdb') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 71ec65b..5c03dd8 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2012-02-19 Jan Kratochvil + + 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 * gdb.python/py-events.py (exit_handler): Add test for 'dir'. diff --git a/gdb/testsuite/gdb.base/break-inline.exp b/gdb/testsuite/gdb.base/break-inline.exp index db2e529..34c47c6 100644 --- a/gdb/testsuite/gdb.base/break-inline.exp +++ b/gdb/testsuite/gdb.base/break-inline.exp @@ -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.*" -- cgit v1.1