From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27828 invoked by alias); 1 Sep 2005 17:58:38 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27805 invoked by uid 22791); 1 Sep 2005 17:58:33 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 01 Sep 2005 17:58:33 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1EAtKZ-0004t6-G1; Thu, 01 Sep 2005 13:58:31 -0400 Date: Thu, 01 Sep 2005 17:58:00 -0000 From: Daniel Jacobowitz To: Konstantin Karganov Cc: gdb@sources.redhat.com Subject: Re: Auto variables display Message-ID: <20050901175830.GA18750@nevyn.them.org> Mail-Followup-To: Konstantin Karganov , gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-09/txt/msg00003.txt.bz2 On Thu, Sep 01, 2005 at 09:10:48PM +0400, Konstantin Karganov wrote: > Hello, All. > > In MS Visual Studio debugger there is a very convenient feature - "Auto" > watch window tab, which displays the variables, referenced at the current > program statement. I.e. when you step across "i=j;" it displays i and j, > when you step across "x=f(a+b,*c)" displays a,b and c, etc. > This allows to see automatically just the values that affect current step > execution and see the error when and where it happens. > > The question is: does GDB support something like this and also are > there the debug info formats that provide the mapping of the source lines > (or code addresses) to the set of variables, references at the point? As far as I know, no and no. -- Daniel Jacobowitz CodeSourcery, LLC