Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Getting rid of the symbol_ranges and aliases stuff
@ 2002-03-25 15:06 Daniel Berlin
  2002-04-05 20:50 ` Jim Blandy
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Berlin @ 2002-03-25 15:06 UTC (permalink / raw)
  To: jimb; +Cc: gdb

If I implement the LOC_COMPUTED and LOC_COMPUTED_ARG, does anyone object 
to me removing SYMBOL_RANGES and SYMBOL_ALIASES in the process?

Reasons:
1. The only thing that generates this is redhat internal, and I don't 
think that gcc even has it enabled by default.
2. It wastes 8 bytes in every symbol (because it's implemented at the 
wrong level).
3. It's STABS specific.
4. It's subsumed by LOC_COMPUTED.
5. It's probably not been tested in a *long* time, since only redhat 
internal gcc can generate the info, and it's not done by default.


This is the live range splitting extensions to stabs stuff.  It works by 
having multiple symbols that are aliases to a given symbol at a given PC. 
In effect, it uses multiple symbols to simulate DWARF2 location lists.
It could be reimplemented in terms of location functions, cleanly.

But since nothing publicly available generates the info, I can't do that 
as part of a LOC_COMPUTED and LOC_COMPUTED_ARG implementation.
Nor do I think I should be required to.


--Dan



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

end of thread, other threads:[~2002-04-06  5:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-25 15:06 Getting rid of the symbol_ranges and aliases stuff Daniel Berlin
2002-04-05 20:50 ` Jim Blandy
2002-04-05 21:31   ` Daniel Berlin

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