From owner-freebsd-current Sun Aug 29 1:42:42 1999 Delivered-To: freebsd-current@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 68A261502B for ; Sun, 29 Aug 1999 01:42:36 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id SAA22991; Sun, 29 Aug 1999 18:10:58 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id SAA72447; Sun, 29 Aug 1999 18:10:58 +0930 (CST) Date: Sun, 29 Aug 1999 18:10:58 +0930 From: Greg Lehey To: Pascal Hofstee Cc: freebsd-current@FreeBSD.ORG Subject: Re: gdb weirdness Message-ID: <19990829181058.R13904@freebie.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Pascal Hofstee on Sun, Aug 29, 1999 at 10:37:32AM +0200 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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