From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21296 invoked by alias); 19 Oct 2006 20:24:04 -0000 Received: (qmail 21285 invoked by uid 22791); 19 Oct 2006 20:24:04 -0000 X-Spam-Check-By: sourceware.org Received: from smtp30.hccnet.nl (HELO smtp30.hccnet.nl) (62.251.0.40) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 19 Oct 2006 20:24:01 +0000 Received: from [192.168.0.151] by smtp30.hccnet.nl via [80.100.236.49] with ESMTP id k9JKNuCH024030 (8.13.6/2.05); Thu, 19 Oct 2006 22:23:58 +0200 (MEST) Message-ID: <4537DEDC.5000008@hccnet.nl> Date: Thu, 19 Oct 2006 20:24:00 -0000 From: Erik Leunissen User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Erik Leunissen , gdb@sourceware.org Subject: Re: breakpoint for accessing memory location References: <4537DBC6.1030807@hccnet.nl> <20061019201214.GA32332@nevyn.them.org> In-Reply-To: <20061019201214.GA32332@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00145.txt.bz2 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. Did you mean that "expr" may stand for a specific memory location? (In my case, assuming that the memory location that I want to watch is 0x08135400, I could simply do watch 0x08135400 ?) Thanks, Erik