Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 1999 18:10:58 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Pascal Hofstee <daeron@Wit401305.student.utwente.nl>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: gdb weirdness
Message-ID:  <19990829181058.R13904@freebie.lemis.com>
In-Reply-To: <Pine.BSF.4.10.9908291027340.89807-100000@shadowmere.student.utwente.nl>; from Pascal Hofstee on Sun, Aug 29, 1999 at 10:37:32AM %2B0200
References:  <Pine.BSF.4.10.9908291027340.89807-100000@shadowmere.student.utwente.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, 29 August 1999 at 10:37:32 +0200, Pascal Hofstee wrote:
>
> I seem to having some weird problems using GDB on 4.0-CURRENT
>
> I am getting things like the following:
>
> 27            for (j = 1; j <= 31; j++) {
> (gdb)
> 28               temp = wmalloc(sizeof(ADay));
> (gdb) print j
> $1 = -1077947156
>
>
> I checked this on a 3.2-STABLE system and it really ought to show
> $1 = 1
>
>
> Is this a known issue ?

Does it do this without the -O flag?  It may use j elsewhere, but have
elided it here.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


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?19990829181058.R13904>