[RFD] objfiles.h, symfile.c, mdebugread.c: Fixes for Digital Unix.

Andrew Cagney ac131313@cygnus.com
Thu Nov 9 23:02:00 GMT 2000


"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



More information about the Gdb-patches mailing list