From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: GDB and static variables Date: Fri, 24 Jan 1997 12:43:34 +0100 Organization: TU Chemnitz-Zwickau Lines: 23 Message-ID: <32E8A066.5DE0@Mathematik.tu-chemnitz.de> References: <5c849s$rer AT cnn DOT exu DOT ericsson DOT se> NNTP-Posting-Host: process.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Scott Frazer wrote: > > a pain and ugly, it allows me to continue development. I downloaded > the sources for GDB and looked around in the source code hoping for > something obvious to be wrong, but didn't have any luck. Maybe I wish you good luck, because it's realy a hard work to find any possible bug in GDB from the sources. But to your problem. I think that this is not a bug of gdb or gcc but I think it is related to the COFF debugging format. I'm not sure but I will test it at home with my gcc, which can produce stabs debugging information. I saw such weird things also in the past for me, when I tried to evaluate the contents of a static variable and gdb didn't know something about the type of that variable. Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************