aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-08-16 21:15:46 +0000
committerTom Tromey <tromey@redhat.com>2010-08-16 21:15:46 +0000
commitb56df87389b6564be5b5fb1ed7fa37aef9fdd85d (patch)
tree7608c103ceb3fa7389f31ddb65e55c903b7d7851 /gdb
parentd63d0675b66c96510a519c93795e3ba3b074e979 (diff)
downloadgdb-b56df87389b6564be5b5fb1ed7fa37aef9fdd85d.zip
gdb-b56df87389b6564be5b5fb1ed7fa37aef9fdd85d.tar.gz
gdb-b56df87389b6564be5b5fb1ed7fa37aef9fdd85d.tar.bz2
* NEWS: Mention watch -location.
Diffstat (limited to 'gdb')
-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