On Sun, 29 Aug 1999, Greg Lehey wrote:
> > I seem to having some weird problems using GDB on 4.0-CURRENT
> > 27 for (j = 1; j <= 31; j++) {
> > (gdb)
> > 28 temp = wmalloc(sizeof(ADay));
> > (gdb) print j
> > $1 = -1077947156
> Does it do this without the -O flag? It may use j elsewhere, but have
> elided it here.
All files are compiled like this:
gcc -Wall -ggdb -ansi -pedantic -I/usr/X11R6/include
-I/usr/X11R6/include `get-wraster-flags --cflags` -I. -DCSRG_BASED
-DFUNCPROTO=15 -DNARROWPROTO -c main.c
And I still get the weird gdb behaviour
--------------------
Pascal Hofstee - [EMAIL PROTECTED]
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+: a-- C++ UB++++ P+ L- E--- W- N+ o? K- w--- O? M V? PS+ PE Y-- PGP--
t+ 5 X-- R tv+ b+ DI D- G e* h+ r- y+
------END GEEK CODE BLOCK------
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message