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>, Kevin Buettner <kevinb at cygnus dot com>, Elena Zannoni <ezannoni at cygnus dot com>
- Subject: Re: [RFD] objfiles.h, symfile.c, mdebugread.c: Fixes for Digital Unix.
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Date: 08 Nov 2000 15:40:43 -0500
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <200011080857.JAA27221@reisser.regent.e-technik.tu-muenchen.de>
[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?