diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-02-19 13:05:28 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-02-19 13:05:28 +0000 |
commit | 6bec5e0a45fae5a59504bae5eb6498c835e1db9d (patch) | |
tree | ddf9c2c3f25276d1732f09e08496fdda10476261 /gdb/testsuite | |
parent | 16c6881de2eec70448ed645020b0e7b71441c2c0 (diff) | |
download | binutils-6bec5e0a45fae5a59504bae5eb6498c835e1db9d.zip binutils-6bec5e0a45fae5a59504bae5eb6498c835e1db9d.tar.gz binutils-6bec5e0a45fae5a59504bae5eb6498c835e1db9d.tar.bz2 |
gdb/testsuite/
Fix for gdbserver non-extended mode.
* gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
and gdb_run_cmd.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/break-inline.exp | 4 |
2 files changed, 9 insertions, 1 deletions
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 <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'. 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.*" |