aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/watchpoint-reuse-slot.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 7a62fe8..fde7135 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2020-05-06 Tom de Vries <tdevries@suse.de>
+ * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
+
+2020-05-06 Tom de Vries <tdevries@suse.de>
+
* gdb.base/store.exp (check_set, up_set): Allowing missing location
info for r.
diff --git a/gdb/testsuite/gdb.base/watchpoint-reuse-slot.exp b/gdb/testsuite/gdb.base/watchpoint-reuse-slot.exp
index 7321378..83b9703 100644
--- a/gdb/testsuite/gdb.base/watchpoint-reuse-slot.exp
+++ b/gdb/testsuite/gdb.base/watchpoint-reuse-slot.exp
@@ -73,7 +73,7 @@ proc stepi {} {
} else {
fail $test
}
- set cur_addr addr
+ set cur_addr $addr
}
}
}