This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC/RFA] Per-objfile data mechanism


On Sun, Jul 13, 2003 at 07:17:04PM +0200, Mark Kettenis wrote:

This patch adds a per-objfile data mechanism to GDB, and uses that to
store DWARF2 frame info instead of abusing objfile->sym_private.  The
latter could lead to problems on certain platforms according to
Daniel.


Cygwin appears to be affected by this, so we should definitely reach
some conclusion before 6.0.


Comments?  OK to check this in?  Do we want this on the release branch
too?


The concept is nice, but I share David's concern.  The way you
implemented this, every objfile always pays the cost of the extra
storage; there's an abstraction benefit, but a memory and simplicity
penalty.  I could go either way.

Some how, I don't see a per-object file penalty being a problem :-)


Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]