From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32334 invoked by alias); 24 Oct 2006 17:37:02 -0000 Received: (qmail 32319 invoked by uid 22791); 24 Oct 2006 17:37:00 -0000 X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (199.232.76.164) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 24 Oct 2006 17:36:57 +0000 Received: from eliz by fencepost.gnu.org with local (Exim 4.34) id 1GcQCq-0003M1-8P; Tue, 24 Oct 2006 13:36:52 -0400 From: Eli Zaretskii To: Daniel Jacobowitz CC: jimb@codesourcery.com, rodney.bates@wichita.edu, gdb@sourceware.org In-reply-to: <20061024125708.GA4762@nevyn.them.org> (message from Daniel Jacobowitz on Tue, 24 Oct 2006 08:57:09 -0400) Subject: Re: breakpoint for accessing memory location Reply-to: Eli Zaretskii References: <453A3758.5090602@wichita.edu> <453A6D1D.1080009@wichita.edu> <453B8C22.3010206@wichita.edu> <20061022172431.GA15887@nevyn.them.org> <20061024125708.GA4762@nevyn.them.org> Message-Id: Date: Tue, 24 Oct 2006 17:37:00 -0000 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/msg00228.txt.bz2 > Date: Tue, 24 Oct 2006 08:57:09 -0400 > From: Daniel Jacobowitz > Cc: Jim Blandy , rodney.bates@wichita.edu, > gdb@sourceware.org > > > > Does the debug info tell us enough to do that? > > Sometimes, but not reliably. If so, I don't think GDB can do better than we do now, since only the compiler knows the true scope of a variable. Right? > Another problem with watchpoints is that we don't support any kind of > location lists for local variables Again, does the debug info include such location lists?