From owner-freebsd-current Mon Nov 2 14:05:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA13711 for freebsd-current-outgoing; Mon, 2 Nov 1998 14:05:32 -0800 (PST) (envelope-from owner-freebsd-current@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 OAA13699 for ; Mon, 2 Nov 1998 14:05:27 -0800 (PST) (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 IAA11470; Tue, 3 Nov 1998 08:34:36 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id IAA12779; Tue, 3 Nov 1998 08:34:11 +1030 (CST) Message-ID: <19981103083410.S354@freebie.lemis.com> Date: Tue, 3 Nov 1998 08:34:10 +1030 From: Greg Lehey To: Harold Gutch , freebsd-current@FreeBSD.ORG Subject: Re: ELF-kgdb on a.out-kernel References: <19981102020346.A19337@foobar.franken.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19981102020346.A19337@foobar.franken.de>; from Harold Gutch on Mon, Nov 02, 1998 at 02:03:46AM +0100 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-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 2 November 1998 at 2:03:46 +0100, Harold Gutch wrote: > Hi, > > how do i use an ELF-gdb on an a.out-kernel ? Setting OBJFORMAT to > "aout" doesn't help and gdb doesn't recognize the > commandline-switch "-aout" (as other tools like nm do). You don't. In fact, gdb should recognize the object format and adapt automatically, but it currently doesn't. You need to build an a.out version of gdb. You can pick on up at 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-current" in the body of the message