From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4202 invoked by alias); 12 Aug 2010 03:07:37 -0000 Received: (qmail 4193 invoked by uid 22791); 12 Aug 2010 03:07:36 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Aug 2010 03:07:31 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L7000800R4WKU00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Thu, 12 Aug 2010 06:07:29 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.102.143]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L70008D4RCGL800@a-mtaout23.012.net.il>; Thu, 12 Aug 2010 06:07:29 +0300 (IDT) Date: Thu, 12 Aug 2010 03:07:00 -0000 From: Eli Zaretskii Subject: Re: RFA: implement "watch -location" In-reply-to: To: Tom Tromey Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83eie4v895.fsf@gnu.org> References: X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00166.txt.bz2 > From: Tom Tromey > Date: Wed, 11 Aug 2010 16:04:05 -0600 > > This patch steals an idea from Apple's gdb fork, namely "watch -location". > I wrote this from scratch but in the end it looks pretty similar to what > they did. Thanks. > +@value{GDBN} will evaluate @var{expr}, take the address of the result, > +and watch that memory. If the expression's result does not have an I suggest a slight rewording here: ... take the address of the result, and watch the memory at that address. Please also say something about the size of the memory area watched by such a watchpoint. The docs are OK with those changes.