From: Daniel Berlin <dan@dberlin.org>
To: jimb@redhat.com
Cc: gdb@sources.redhat.com
Subject: Getting rid of the symbol_ranges and aliases stuff
Date: Mon, 25 Mar 2002 15:06:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.44.0203251756520.6636-100000@dberlin.org> (raw)
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
next reply other threads:[~2002-03-25 23:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-25 15:06 Daniel Berlin [this message]
2002-04-05 20:50 ` Jim Blandy
2002-04-05 21:31 ` Daniel Berlin
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=Pine.LNX.4.44.0203251756520.6636-100000@dberlin.org \
--to=dan@dberlin.org \
--cc=gdb@sources.redhat.com \
--cc=jimb@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