* gdb.ada/array_bounds.exp: Get breakpoint for line
authorKeith Seitz <keiths@redhat.com>
Thu, 8 Mar 2012 22:19:48 +0000 (22:19 +0000)
committerKeith Seitz <keiths@redhat.com>
Thu, 8 Mar 2012 22:19:48 +0000 (22:19 +0000)
with "START", not "STOP".
* gdb.python/py-infthread.exp: Do not continue to
line marked "Break here.", which is undefined.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/array_bounds.exp
gdb/testsuite/gdb.python/py-infthread.exp

index 4c28dc171bdc1568afaca615a2133c475c3849da..4c287d826728fa3abccc55dc094c6abee75dd15e 100644 (file)
@@ -1,3 +1,10 @@
+2012-03-08  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.ada/array_bounds.exp: Get breakpoint for line
+       with "START", not "STOP".
+       * gdb.python/py-infthread.exp: Do not continue to
+       line marked "Break here.", which is undefined.
+
 2012-03-08  Luis Machado  <lgustavo@codesourcery.com>
 
        Revert:
index a726e71d5b4760f6201a487a1340f4747264f535..493c7c3c6065d0bbac8eefab709eb914f77a001f 100644 (file)
@@ -27,7 +27,7 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" }
 
 clean_restart ${testfile}
 
-set bp_location [gdb_get_line_number "STOP" ${testdir}/bar.adb]
+set bp_location [gdb_get_line_number "START" ${testdir}/bar.adb]
 if ![runto "bar.adb:$bp_location" ] then {
   perror "Couldn't run ${testfile}"
   return
index 5fa508f0a6c4c42ce79af7a51088b3895495aed8..491cc41b20d10bfd94b3e47df016d57e4d0e1c64 100644 (file)
@@ -37,8 +37,6 @@ if ![runto_main] then {
     return 0
 }
 
-runto [gdb_get_line_number "Break here."]
-
 # Test basic gdb.Inferior attributes and methods.
 
 gdb_py_test_silent_cmd "python t0 = gdb.selected_thread ()" "test gdb.selected_thread" 1