From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32763 invoked by alias); 22 Jun 2007 20:00:17 -0000 Received: (qmail 32754 invoked by uid 22791); 22 Jun 2007 20:00:16 -0000 X-Spam-Check-By: sourceware.org Received: from cg-01.tenbit.pl (HELO tenbit.pl) (213.180.131.136) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 22 Jun 2007 20:00:09 +0000 Received: from [157.25.157.162] (account paulino90 HELO localhost.localdomain) by tenbit.pl (CommuniGate Pro SMTP 4.1.8) with ESMTP id 55989581; Fri, 22 Jun 2007 17:12:59 +0200 From: Pawel MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18043.59333.392390.442469@localhost.localdomain> Date: Fri, 22 Jun 2007 20:00:00 -0000 To: Nick Roberts Cc: gdb mailing list Subject: Re: gdb: debugging memory location changes. In-Reply-To: <18040.64192.542481.273569@kahikatea.snap.net.nz> References: <18040.63313.819789.233867@localhost.localdomain> <18040.64192.542481.273569@kahikatea.snap.net.nz> X-MAILER: KMail/1.7.1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00200.txt.bz2 Nick Roberts writes: > > I am debugging large code I am not familiar with. I noticed that > > memory location, for example funnyObject.field, changes somewhere in > > the code and I do not know where, thus I do not know where to set the > > breakpoint. Can gdb find such places in the code for me? > > Read about watchpoints in the Breakpoints node of the Gdb info manual. > > -- > Nick http://www.inet.net.nz/~nickrob Yes, I was looking for breakpoints:) Thanks for All replies! pawel