From: Fabian Cenedese <Cenedese@indel.ch>
To: gdb@sourceware.org
Subject: "Preprocess" dwarf info?
Date: Thu, 18 Jan 2007 09:25:00 -0000 [thread overview]
Message-ID: <5.2.0.9.1.20070118102453.018662f0@NT_SERVER> (raw)
Hi
I'm now trying out stabs and dwarf debug info. With stabs all gdb symbols
get filled with data like type (LOC_STATIC, LOC_REGISTER etc) and
values (SYMBOL_VALUE, SYMBOL_VALUE_ADDRESS). If the symbol
gets evaluated only few target accesses are needed (registers, memory)
for the final value.
With dwarf this info is not stored expressively anymore if a symbol
is of type LOC_COMPUTED or LOC_COMPUTED_ARG. Instead gdb will
evaluate the dwarf debug "code" to return the value every time. I know
that there may be symbol "locations" that are not representable with
just 1 or 2 values. But still values such as register numbers or offsets
will always be the same.
So is there a way to somehow "preprocess" the dwarf info to get out
the same info gdb stores when using the stabs info?
Thanks
bye Fabi
next reply other threads:[~2007-01-18 9:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-18 9:25 Fabian Cenedese [this message]
2007-01-18 16:30 ` Daniel Jacobowitz
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=5.2.0.9.1.20070118102453.018662f0@NT_SERVER \
--to=cenedese@indel.ch \
--cc=gdb@sourceware.org \
/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