From owner-freebsd-current Thu Nov 1 9:13:47 2001 Delivered-To: freebsd-current@freebsd.org Received: from owa-sj-1.digisle.com (owa-sj-1.digisle.com [167.216.153.124]) by hub.freebsd.org (Postfix) with ESMTP id DAE7037B407 for ; Thu, 1 Nov 2001 09:13:44 -0800 (PST) Received: from VWALL-SJ-1.digisle.com ([167.216.153.118]) by owa-sj-1.digisle.com with Microsoft SMTPSVC(5.0.2195.2966); Thu, 1 Nov 2001 09:15:13 -0800 Received: from 206.220.227.145 by VWALL-SJ-1.digisle.com (InterScan E-Mail VirusWall NT); Thu, 01 Nov 2001 12:13:36 -0500 Message-ID: <3BE182C8.CE25ECAA@digisle.net> Date: Thu, 01 Nov 2001 09:13:44 -0800 From: Maksim Yevmenkin Organization: Digital Island X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Joerg Wunsch Cc: freebsd-current@FreeBSD.ORG Subject: Re: weird -current gdb/gcc(?) problem References: <3BE03AF5.C0776836@digisle.net> <200110312111.f9VLBgM19567@uriah.heep.sax.de> <3BE0714D.9A7592EE@digisle.net> <20011101083935.G36117@uriah.heep.sax.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Nov 2001 17:15:13.0236 (UTC) FILETIME=[C4916940:01C162F8] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Joerg, > > first of all i want to apoligize. i sent the wrong output. yes, it > > does the right thing if you use "-g" switch, however it does not > > work for me if i use "-ggdb" switch. > > Indeed, the output generated with -ggdb looks weird. But then, it > never occurred to me to use -ggdb at all. Why would one want to do > this? i have one program that works on linux and solaris and i need to run it on freebsd. the "-ggdb" switch is in program's Makefile. i can compile it just fine, but when i run it - it core dumps. the core dump is more weird that "gdb" frame output. "gdb" shows endless recursive call to inet_addr() __inet_aton() inet_addr() __inet_aton() etc. as soon as there is no more stack - program coredumps :( so i'm trying to fix it. thanks, max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message