From owner-freebsd-questions Thu Oct 22 18:37:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA05195 for freebsd-questions-outgoing; Thu, 22 Oct 1998 18:37:52 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA05190 for ; Thu, 22 Oct 1998 18:37:49 -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 LAA26086; Fri, 23 Oct 1998 11:06:59 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id LAA01327; Fri, 23 Oct 1998 11:06:58 +0930 (CST) Message-ID: <19981023110658.T28824@freebie.lemis.com> Date: Fri, 23 Oct 1998 11:06:58 +0930 From: Greg Lehey To: James Butt , questions@FreeBSD.ORG Subject: Re: GDB & 3.0 & aout References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from James Butt on Thu, Oct 22, 1998 at 01:25:39PM -0500 WWW-Home-Page: http://www.lemis.com/~grog 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-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 22 October 1998 at 13:25:39 -0500, James Butt wrote: > > If I compile a program with the -aout switch to cc I am unable to use gdb > to debug it under 3.0.. I have to use aout due to vendor supplied libs. > > I get a unrecognized executabe error. > > Is there a way to make gdb work? I have tried copying a copy of gdb from a > 2.2.6 machine (while I did not expect this to work it did recognize the > binnary but it did not work) There should be a way to build an a.out version of gdb, but it's not easy. You can find one on ftp://ftp.lemis.com/pub/vinum/gdb-aout. 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-questions" in the body of the message