gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 19 Feb 2012 13:05:28 +0000 (13:05 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 19 Feb 2012 13:05:28 +0000 (13:05 +0000)
Fix for gdbserver non-extended mode.
* gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
and gdb_run_cmd.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/break-inline.exp

index 71ec65be40a6a1ef2e4c64399a548ba88e18b965..5c03dd8a6b5d58f48e5b90f821f92943dda5e7e5 100644 (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'.
index db2e5296be60b5021dbe086beb819ecd8486b424..34c47c67890833d3c5000e8dc30396d11e2031ba 100644 (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.*"
This page took 0.050022 seconds and 4 git commands to generate.