Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Berlin <dberlin@dberlin.org>
To: Jim Blandy <jimb@redhat.com>
Cc: Petr Sorfa <petrs@caldera.com>,
	"gdb-patches@sources.redhat.com" <gdb-patches@sources.redhat.com>
Subject: Re: [PATCH] Support for multiple DWARF comp unit headers
Date: Fri, 05 Jul 2002 03:39:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.44.0207042328430.4212-100000@dberlin.org> (raw)
In-Reply-To: <npeleiamdm.fsf@zwingli.cygnus.com>

On 4 Jul 2002, Jim Blandy wrote:
> 
> Just out of curiosity --- after we've built `struct die_info' objects
> for a CU, we don't need the abbrev table any more, do we?  I may be
> misremembering the way the code behaves, but it seems to me that one
> could construct an abbrev table before calling read_comp_unit, and
> then throw it away when done.  Perhaps the abbrev tables are not big
> enough for this to be worth thinking about.

They generally aren't.
Two factors:
1. Generation of abbrev tables is usually very optimized.
2. The structure of debug info is fairly regular, it's only the actual 
information present in the structure that changes.  THus, the abbrev 
tables are fairly small.
In fact, i've never seen one that was more than about 150 entries.


  reply	other threads:[~2002-07-05  3:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-03 14:18 Petr Sorfa
2002-07-04 20:27 ` Jim Blandy
2002-07-05  3:39   ` Daniel Berlin [this message]
2002-07-08  9:41   ` Petr Sorfa
2002-07-08 10:03     ` 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.0207042328430.4212-100000@dberlin.org \
    --to=dberlin@dberlin.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=jimb@redhat.com \
    --cc=petrs@caldera.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