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.


"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


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