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: Jim Blandy <jimb at cygnus dot com>
- Subject: Re: [RFD] objfiles.h, symfile.c, mdebugread.c: Fixes for Digital Unix.
- From: Elena Zannoni <ezannoni at cygnus dot com>
- Date: Fri, 10 Nov 2000 17:46:41 -0500 (EST)
- Cc: "Peter.Schauer" <Peter dot Schauer at Regent dot E-Technik dot TU-Muenchen dot DE>, Kevin Buettner <kevinb at cygnus dot com>, Elena Zannoni <ezannoni at cygnus dot com>, gdb-patches at sourceware dot cygnus dot com
- References: <200011080857.JAA27221@reisser.regent.e-technik.tu-muenchen.de><np7l6e6vuc.fsf@zwingli.cygnus.com>
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