aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/NEWS5
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a800d84..129eed5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-16 Tom Tromey <tromey@redhat.com>
+
+ * NEWS: Mention watch -location.
+
2010-08-16 Jan Kratochvil <jan.kratochvil@redhat.com>
* breakpoint.c (update_watchpoint): Add source empty line. Prefer
diff --git a/gdb/NEWS b/gdb/NEWS
index 73f79a5..e4bb48b 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -21,6 +21,11 @@
information and can be used to greatly speed up GDB startup and
operation. See the documentation for `save gdb-index' for details.
+* The "watch" command now accepts an optional "-location" argument.
+ When used, this causes gdb to watch the memory referred to by the
+ expression. Such a watchpoint is never deleted due to it going out
+ of scope.
+
*** Changes in GDB 7.2
* Shared library support for remote targets by default