From: Daniel Jacobowitz <drow@mvista.com>
To: gdb@sources.redhat.com
Subject: Re: Dwarf information about a symbol
Date: Wed, 15 Oct 2003 13:52:00 -0000 [thread overview]
Message-ID: <20031015135156.GA22221@nevyn.them.org> (raw)
In-Reply-To: <20031015082657.63907.qmail@web60108.mail.yahoo.com>
On Wed, Oct 15, 2003 at 01:26:57AM -0700, ankit thukral wrote:
> hi all,
> this is regarding the dwarf information regarding
> a variable (which is in struct symbol in the following
> field : symbol.aux_value.loc.baton.data ).can this
> information change over different stages in the
> process? for instance,if a variable ,which is in a
> register during early stages of the program,ceases to
> be in the register (due to less usage) and is stored
> in memory,then the symbol Dwarf information should
> change from DW_OP_regx to
> DW_OP_fbreg.
> i am not very sure whether my knowledge about the
> compilation process (gcc , of course) is correct to
> this end.
To add to Keith's answer:
- loc.baton.data will _not_ change. loc.baton.data may point to a
list of different locations, however.
- current gcc only occasionally generates location lists. It may be
3.5 before they're really available.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
prev parent reply other threads:[~2003-10-15 13:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-09 14:24 A thread has-a selected/current frame Andrew Cagney
2003-10-15 8:26 ` Dwarf information about a symbol ankit thukral
2003-10-15 9:12 ` Keith Walker
2003-10-15 13:52 ` Daniel Jacobowitz [this message]
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=20031015135156.GA22221@nevyn.them.org \
--to=drow@mvista.com \
--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