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]
Other format: [Raw text]

Re: [patch/hack] Force very early initialization of gdbtypes


Hello,

The attached patch forces the very early initialization of gdbtypes. This in turn stops problems with code trying to refer to uninitialized gdbtype data.

The ``correct fix'' is for gdbtypes to initialize itself on-demand. Unfortunatly, at present the language files contain static initializers that take the address of these global gdbtype variables :-(

Andrew

PS: I'll fill in the pr number and commit it once I've got notification back from prms.
I've checked this in.

BTW, was also a hiccup with GDB's bug database but that has been fixed (thanks to JasonM and ChrisF).

Andrew




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