diff options
author | Keith Seitz <keiths@redhat.com> | 2012-03-09 04:38:53 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2012-03-09 04:38:53 +0000 |
commit | 0d7941a9be533b6a7c3d05c06f74dfb74d3ec561 (patch) | |
tree | 34ac60a332fba35452554f95140b0678ff8462c9 /gdb/testsuite/gdb.base/break.exp | |
parent | f4647387fe3182beb6a30539d4339b85a48fc14e (diff) | |
download | gdb-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/break.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/break.exp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/break.exp b/gdb/testsuite/gdb.base/break.exp index 54cbae1..71eb3a6 100644 --- a/gdb/testsuite/gdb.base/break.exp +++ b/gdb/testsuite/gdb.base/break.exp @@ -115,7 +115,6 @@ gdb_test "break multi_line_while_conditional" \ "Breakpoint.*at.* file .*$srcfile, line $bp_location4\\." \ "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 |