[patch/hack] Force very early initialization of gdbtypes
Andrew Cagney
ac131313@cygnus.com
Sun Jun 9 07:38:00 GMT 2002
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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20020609/d1b71e49/attachment.ksh>
More information about the Gdb-patches
mailing list