From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16478 invoked by alias); 20 Oct 2006 06:31:35 -0000 Received: (qmail 16469 invoked by uid 22791); 20 Oct 2006 06:31:34 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 20 Oct 2006 06:31:33 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-229-234-60.inter.net.il [84.229.234.60]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id GAV12705 (AUTH halo1); Fri, 20 Oct 2006 08:31:27 +0200 (IST) Date: Fri, 20 Oct 2006 06:31:00 -0000 Message-Id: From: Eli Zaretskii To: Erik Leunissen CC: gdb@sourceware.org In-reply-to: <4537DEDC.5000008@hccnet.nl> (message from Erik Leunissen on Thu, 19 Oct 2006 22:23:56 +0200) Subject: Re: breakpoint for accessing memory location Reply-to: Eli Zaretskii References: <4537DBC6.1030807@hccnet.nl> <20061019201214.GA32332@nevyn.them.org> <4537DEDC.5000008@hccnet.nl> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00152.txt.bz2 > Date: Thu, 19 Oct 2006 22:23:56 +0200 > From: Erik Leunissen > > Daniel Jacobowitz wrote: > > > > Take a look at "watchpoints" in the manual. They should be exactly > > what you need. > > Yes, I saw watchpoints also, but didn't recognize them as being useful > in my case. From the manual: > > watch expr > Set a watchpoint for an expression. GDB will break when expr is > written into by the program and its value changes. The beginning of that section has a better explanation: You can use a watchpoint to stop execution whenever the value of an expression changes, without having to predict a particular place where this may happen. What text would you suggest to have there that would have helped you recognize that this is the feature you wanted? If you were looking for some specific words or phrases, please tell what they are. This will allow us to improve the manual. TIA