diff options
author | Keith Seitz <keiths@redhat.com> | 2012-03-08 22:19:48 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2012-03-08 22:19:48 +0000 |
commit | 83c532cb59db2f7c83d9e23fb533bfc0db830fd1 (patch) | |
tree | c7efbda2144b32662209eb50056554b88d2bb627 /gdb/testsuite | |
parent | 735be1a2c1abfef22d629245caaadd33c9d268b1 (diff) | |
download | gdb-83c532cb59db2f7c83d9e23fb533bfc0db830fd1.zip gdb-83c532cb59db2f7c83d9e23fb533bfc0db830fd1.tar.gz gdb-83c532cb59db2f7c83d9e23fb533bfc0db830fd1.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/testsuite/gdb.ada/array_bounds.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-infthread.exp | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4c28dc1..4c287d8 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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: diff --git a/gdb/testsuite/gdb.ada/array_bounds.exp b/gdb/testsuite/gdb.ada/array_bounds.exp index a726e71..493c7c3 100644 --- a/gdb/testsuite/gdb.ada/array_bounds.exp +++ b/gdb/testsuite/gdb.ada/array_bounds.exp @@ -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 diff --git a/gdb/testsuite/gdb.python/py-infthread.exp b/gdb/testsuite/gdb.python/py-infthread.exp index 5fa508f..491cc41 100644 --- a/gdb/testsuite/gdb.python/py-infthread.exp +++ b/gdb/testsuite/gdb.python/py-infthread.exp @@ -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 |