This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFD] objfiles.h, symfile.c, mdebugread.c: Fixes for Digital Unix.
- To: "Peter.Schauer" <Peter dot Schauer at Regent dot E-Technik dot TU-Muenchen dot DE>, Elena Zannoni <ezannoni at cygnus dot com>, Jim Blandy <jimb at cygnus dot com>
- Subject: Re: [RFD] objfiles.h, symfile.c, mdebugread.c: Fixes for Digital Unix.
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Wed, 8 Nov 2000 14:30:23 -0700
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <200011080857.JAA27221@reisser.regent.e-technik.tu-muenchen.de> <np7l6e6vuc.fsf@zwingli.cygnus.com>
On Nov 8, 3:40pm, Jim Blandy wrote:
> [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?
Using obj_private to keep a map from sc* indices to section indices
(or something along these lines) sounds right to me.
Kevin