From owner-freebsd-questions Thu Feb 27 14: 9:40 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14E5037B401 for ; Thu, 27 Feb 2003 14:09:39 -0800 (PST) Received: from hotmail.com (oe68.law12.hotmail.com [64.4.18.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id A27C843F85 for ; Thu, 27 Feb 2003 14:09:38 -0800 (PST) (envelope-from b1henning@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 27 Feb 2003 14:09:38 -0800 X-Originating-IP: [192.216.212.193] From: "Brian Henning" To: "freebsd" Subject: gdb Date: Thu, 27 Feb 2003 16:07:44 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 27 Feb 2003 22:09:38.0536 (UTC) FILETIME=[EB6D8680:01C2DEAC] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello- i am trying to get familiar with gdb so i wrote this code knowing that i will get a core dump. when i try to run the following command i get some error about not being in the proper format. what can i do to remedy the problem? thanks, brian >gcc -ggdb gen_core.c >./a.out >gdb core "/home/henninb/core": not in executable format: File format not recognized gen_core.c ----------- #include int main() { int x = 1/0; return 0; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message