aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/hbreak2.exp
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2012-03-09 04:38:53 +0000
committerKeith Seitz <keiths@redhat.com>2012-03-09 04:38:53 +0000
commit0d7941a9be533b6a7c3d05c06f74dfb74d3ec561 (patch)
tree34ac60a332fba35452554f95140b0678ff8462c9 /gdb/testsuite/gdb.base/hbreak2.exp
parentf4647387fe3182beb6a30539d4339b85a48fc14e (diff)
downloadgdb-0d7941a9be533b6a7c3d05c06f74dfb74d3ec561.zip
gdb-0d7941a9be533b6a7c3d05c06f74dfb74d3ec561.tar.gz
gdb-0d7941a9be533b6a7c3d05c06f74dfb74d3ec561.tar.bz2
* lib/gdb.exp (gdb_get_line_number): Throw an
error instead of returning -1. * gdb.base/break.exp: Remove unused variable bp_location5. * gdb.base/hbreak2.exp: Likewise. * gdb.base/sepdebug.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/hbreak2.exp')
-rw-r--r--gdb/testsuite/gdb.base/hbreak2.exp1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/hbreak2.exp b/gdb/testsuite/gdb.base/hbreak2.exp
index c4a18cd..7f52cd3 100644
--- a/gdb/testsuite/gdb.base/hbreak2.exp
+++ b/gdb/testsuite/gdb.base/hbreak2.exp
@@ -130,7 +130,6 @@ gdb_test "hbreak multi_line_while_conditional" \
"Hardware assisted breakpoint.*at.* file .*$srcfile, line $bp_location4\\." \
"hardware breakpoint at start of multi line while conditional"
-set bp_location5 [gdb_get_line_number "set breakpoint 5 here"]
set bp_location6 [gdb_get_line_number "set breakpoint 6 here"]
set main_line $bp_location6