From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27685 invoked from network); 30 Aug 1999 12:08:24 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Aug 1999 12:08:24 -0000 Received: from takefive.takefive.co.at (takefive.takefive.co.at [193.81.18.150]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id IAA09103 for ; Mon, 30 Aug 1999 08:08:23 -0400 Received: from extreme.takefive.co.at (extreme [193.81.18.174]) by takefive.takefive.co.at (8.8.8/1.0T5H) with ESMTP id OAA12066; Mon, 30 Aug 1999 14:08:08 +0200 (MET DST) Received: from takefive.co.at (extreme.takefive.co.at [193.81.18.174]) by extreme.takefive.co.at (8.9.3/8.9.3) with ESMTP id OAA15048; Mon, 30 Aug 1999 14:08:02 +0200 Message-Id: <199908301208.OAA15048@extreme.takefive.co.at> Date: Mon, 30 Aug 1999 14:07:59 +0200 (CEST) From: Max Weninger Subject: Re: gdb To: axp-list@redhat.com cc: larrys@lexis-nexis.com In-Reply-To: <199908290009.UAA00903@ra.lexis-nexis.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Hi, On 28 Aug, Larry Snyder wrote: > I know in the past there have been problems w/ gdb. Can anyone > fill me in on where things stand now? > TIA, > -ls- > The problems are still there. With a stock gdb 4.17 and egcs you will get "strange" results using "next" and "step" commands. Strange means that e.g. next runs till the end. The problem is that egcs generates incorrect information about function prologues. This problem has been dicussed on the gdb mailing list. I use gdb 4.17.0.11 + a special patch (more a hack than a patch :-) ) for using gdb together with egcs (and gcc-2.95). If needed i can provide the patch. BTW gdb 4.18 does not work either out of the tgz (e.g. when calling a function it crashes) Another problem is reading core dumps generated with 2.2.x kernels. With a stock 4.17 it is not possible. Some patches where communicated on the gdb mailing list but i never tried one of them, Regards Max -- _______________________________________________________________ \ o/\_ DI Max Weninger <\__,\ Email (max@takefive.co.at) ">. | ` .-| TakeFive Software - Jakob-Haringer-Str. 8 . \ A-5020 Salzburg - AUSTRIA . \ Tel: +43 662 4579150 - Fax: +43 662 4579156 .-| _________._|____________________________________________________