From b56df87389b6564be5b5fb1ed7fa37aef9fdd85d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 16 Aug 2010 21:15:46 +0000 Subject: [PATCH] * NEWS: Mention watch -location. --- gdb/ChangeLog | 4 ++++ gdb/NEWS | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a800d84a390..129eed5ec46 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-08-16 Tom Tromey + + * NEWS: Mention watch -location. + 2010-08-16 Jan Kratochvil * breakpoint.c (update_watchpoint): Add source empty line. Prefer diff --git a/gdb/NEWS b/gdb/NEWS index 73f79a51aa5..e4bb48ba539 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 -- 2.30.2