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>
- Subject: Re: [RFD] objfiles.h, symfile.c, mdebugread.c: Fixes for Digital Unix.
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 10 Nov 2000 17:55:05 +1100
- Cc: Jim Blandy <jimb at cygnus dot com>, gdb-patches at sourceware dot cygnus dot com
- References: <200011080857.JAA27221@reisser.regent.e-technik.tu-muenchen.de>
"Peter.Schauer" wrote:
> Perhaps we could use pst_private for the mdebug section index table pointer,
> but then we have to use another temporary global variable (like pending_list),
> which I am not very fond of.
Yes, no more globals please :-)
Long (perhaps short/medium) term, the symtab code needs to move away
from any assumption that it can rely on global variables.
This is because, long term, GDB is expected to be debugging more than
one program (ie symboltable) simultaneously.
enjoy,
Andrew