Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* "Preprocess" dwarf info?
@ 2007-01-18  9:25 Fabian Cenedese
  2007-01-18 16:30 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Cenedese @ 2007-01-18  9:25 UTC (permalink / raw)
  To: gdb

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 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-18 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-18  9:25 "Preprocess" dwarf info? Fabian Cenedese
2007-01-18 16:30 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox