public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Konstantin Karganov <kostik@ispras.ru>
To: gdb@sources.redhat.com
Subject: Auto variables display
Date: Thu, 01 Sep 2005 17:10:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.44.0509012055240.3590-100000@ispserv.ispras.ru> (raw)

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?

TIA,
Konstantin.

             reply	other threads:[~2005-09-01 17:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-01 17:10 Konstantin Karganov [this message]
2005-09-01 17:58 ` Daniel Jacobowitz
2005-09-02  6:52 ` Vladimir Prus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0509012055240.3590-100000@ispserv.ispras.ru \
    --to=kostik@ispras.ru \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).