From: Eli Zaretskii <eliz@gnu.org>
To: "Jim Blandy" <jimb@red-bean.com>
Cc: kushneeraj@gmail.com, gdb@sourceware.org
Subject: Re: value of local variable stored in register
Date: Tue, 05 Feb 2008 20:35:00 -0000 [thread overview]
Message-ID: <u3as7ta4b.fsf@gnu.org> (raw)
In-Reply-To: <8f2776cb0802051142s6ab14bs80f91835da26f4e8@mail.gmail.com> (jimb@red-bean.com)
> Date: Tue, 5 Feb 2008 11:42:32 -0800
> From: "Jim Blandy" <jimb@red-bean.com>
> Cc: "Neeraj kushwaha" <kushneeraj@gmail.com>, gdb@sourceware.org
>
> On Feb 4, 2008 12:31 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> > (gdb) info address c
> >
> > This will show where the variable c is stored. If it says it's in a
> > register, print the value of that register.
>
> The output of 'info address' isn't very helpful if c has a non-trivial
> DWARF location expression.
Can you show an example?
Also, is this problem relevant to the case in point (the OP presented
a test program)?
next prev parent reply other threads:[~2008-02-05 20:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-04 4:53 Neeraj kushwaha
2008-02-04 5:28 ` Rohit Arul Raj
2008-02-04 6:39 ` Neeraj kushwaha
2008-02-04 7:03 ` Rohit Arul Raj
2008-02-04 7:42 ` Rohit Arul Raj
2008-02-04 20:32 ` Eli Zaretskii
2008-02-05 19:42 ` Jim Blandy
2008-02-05 20:35 ` Eli Zaretskii [this message]
2008-02-06 0:27 ` Jim Blandy
2008-02-06 4:18 ` Eli Zaretskii
2008-02-06 6:26 ` Jim Blandy
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=u3as7ta4b.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb@sourceware.org \
--cc=jimb@red-bean.com \
--cc=kushneeraj@gmail.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