Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: gdb-patches@sourceware.org
Subject: [0/10] RFC: remove obj_section field
Date: Mon, 18 Feb 2013 19:41:00 -0000	[thread overview]
Message-ID: <87txp98l6a.fsf@fleche.redhat.com> (raw)

This series removes general_symbol_info::obj_section.

The immediate benefit of doing this is that it shrinks all symbols by a
whole pointer.  This is a reasonably good memory savings.

This series also has the nice effect of regularizing section indices:
now the SYMBOL_SECTION is the same (modulo minor weirdness, see patch
#6) as the BFD section index.


This series also supports my long-term goal of "objfile splitting".  At
least patches 2, 3, and 4 go in this direction, by removing one
symbol->objfile backlink, and by introducing "bound minimal symbols".
I'll describe this more in those patches.


I've built and regtested this series on x86-64 Fedora 16, on PPC Fedora
18 (gcc110 in the compile farm), and on HP-UX.  I also built and
regtested it on x86-64 Fedora 16 using -gstabs+.

However, it could certainly use more testing and inspection.  The
individual patch messages will point out some of the questionable bits.

Joel, I will push a new branch for you to test, if you don't mind.  I'll
send email when it is ready.

Tom


             reply	other threads:[~2013-02-18 19:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-18 19:41 Tom Tromey [this message]
2013-02-18 21:39 ` Joel Brobecker
2013-02-18 21:52   ` Tom Tromey
2013-02-22 20:04     ` Tom Tromey
2013-02-28 22:01 ` Joel Brobecker
2013-04-03 18:18 ` Pedro Alves
2013-04-09 11:42 ` Tom Tromey
2013-04-09 12:19   ` Sandra Loosemore
2013-04-09 12:46     ` Tom Tromey
2013-04-09 12:47       ` Sandra Loosemore
2013-04-09 13:00         ` Tom Tromey

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=87txp98l6a.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@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