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]

Re: [RFD] objfiles.h, symfile.c, mdebugread.c: Fixes for Digital Unix.


Jim Blandy writes:
 > 
 > [Jim suggests using obj_private to cache pointers to the sections
 > mdebug needs]
 > 
 > > That's what I meant with:
 > > 
 > > : > I am not sure if adding to sect_index_* and SECT_OFF_* is the way to go in
 > > : > the general version, hiding those in obj_private might be
 > > feasible.
 > 
 > Okay.  Kevin, Elena, what do you think?
 > 
 > > We would need a mdebug section index table per objfile, but I am not sure if
 > > obj_private is the right place. As obj_private is currently only used
 > > by HPPA targets, it might be safe.
 > 
 > obj_private looks custom-made for this case.  By "HPPA targets", you
 > mean "SOM executables", right?
 > 

Yes, sorry for the slow reply.  I wanted to get rid of the SECT_OFF
stuff eventually, so the more localized these changes are, the better.

obj_private seems to be a safe bet.

Elena

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