From owner-freebsd-questions Thu Dec 31 05:21:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA29259 for freebsd-questions-outgoing; Thu, 31 Dec 1998 05:21:28 -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 FAA29254 for ; Thu, 31 Dec 1998 05:21:26 -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 IAA03197 for ; Thu, 31 Dec 1998 08:21:06 -0500 (EST) (envelope-from mcgovern@spoon.beta.com) Message-Id: <199812311321.IAA03197@spoon.beta.com> To: questions@FreeBSD.ORG Subject: Changing gdb (3.0) to debug AOUT Date: Thu, 31 Dec 1998 08:21:06 -0500 From: "Brian J. McGovern" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've been running 3.0 for a bit, and I'm running in to a snag with a.out binaries (including being unable to remote-debug kernels). It appears that the gdb w/3.0 will debug ELF binaries just fine, but doesn't recognize the a.out format. I've mucked around in the code, but don't see where the target controls whether its an ELF or a.out target. Is it a function of which its compiled with? Can I get away just rebuilding it with -aout? If so, where is a good place to stick this flag? -Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message