From owner-freebsd-questions Thu Dec 31 21:34:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA03713 for freebsd-questions-outgoing; Thu, 31 Dec 1998 21:34:04 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from spoon.beta.com (mcgovern.ne.mediaone.net [24.128.106.170]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA03708 for ; Thu, 31 Dec 1998 21:34:03 -0800 (PST) (envelope-from mcgovern@spoon.beta.com) Received: from spoon.beta.com (mcgovern@localhost [127.0.0.1]) by spoon.beta.com (8.8.8/8.8.8) with ESMTP id AAA24192; Fri, 1 Jan 1999 00:33:32 -0500 (EST) (envelope-from mcgovern@spoon.beta.com) Message-Id: <199901010533.AAA24192@spoon.beta.com> To: Greg Lehey cc: questions@FreeBSD.ORG Subject: Re: Changing gdb (3.0) to debug AOUT In-reply-to: Your message of "Fri, 01 Jan 1999 11:16:42 +1030." <19990101111642.V39598@freebie.lemis.com> Date: Fri, 01 Jan 1999 00:33:32 -0500 From: "Brian J. McGovern" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The version with 3.0 complains that it can't understand the format of an a.out image. If you create a short C program, a la #include void main(void) { printf("Hi!\n"); } and compile it a la: cc -aout -g -o foo foo.c Then go: gdb foo It will load gdb, then complain that the format is unrecognized.... As a "work around", I recompiled a copy from my 2.2.6 machine with -static defined, and copied it over. It seems to work ok.... -Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message