Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [0/10] RFC: remove obj_section field
@ 2013-02-18 19:41 Tom Tromey
  2013-02-18 21:39 ` Joel Brobecker
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Tom Tromey @ 2013-02-18 19:41 UTC (permalink / raw)
  To: gdb-patches

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


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

end of thread, other threads:[~2013-04-09  2:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-18 19:41 [0/10] RFC: remove obj_section field Tom Tromey
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

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