Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 1999 10:46:33 +0200 (CEST)
From:      Pascal Hofstee <daeron@shadowmere.student.utwente.nl>
To:        Greg Lehey <grog@lemis.com>
Cc:        Pascal Hofstee <daeron@Wit401305.student.utwente.nl>, freebsd-current@FreeBSD.ORG
Subject:   Re: gdb weirdness
Message-ID:  <Pine.BSF.4.10.9908291044400.94805-100000@shadowmere.student.utwente.nl>
In-Reply-To: <19990829181058.R13904@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 - daeron@shadowmere.student.utwente.nl

-----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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908291044400.94805-100000>