aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/dwarf.exp2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 10d7cbe..4209c57 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
+ * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
+ _line_saw_file.
+
+2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
+
* lib/tuiterm.exp (Term::_check_box): Check some parts of the top
border.
diff --git a/gdb/testsuite/lib/dwarf.exp b/gdb/testsuite/lib/dwarf.exp
index da9763e..6c6ffbe 100644
--- a/gdb/testsuite/lib/dwarf.exp
+++ b/gdb/testsuite/lib/dwarf.exp
@@ -1309,6 +1309,8 @@ namespace eval Dwarf {
set is_64 0
set _unit_version 4
set _unit_addr_size default
+ set _line_saw_program 0
+ set _line_saw_file 0
foreach { name value } $options {
switch -exact -- $name {