From owner-freebsd-bugs Thu Oct 1 12:25:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA16494 for freebsd-bugs-outgoing; Thu, 1 Oct 1998 12:25:54 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from george.lbl.gov (george.lbl.gov [131.243.2.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA16475 for ; Thu, 1 Oct 1998 12:25:39 -0700 (PDT) (envelope-from jin@george.lbl.gov) Received: (from jin@localhost) by george.lbl.gov (8.8.8/LBL-ITG) id MAA17556 for bugs@FreeBSD.ORG; Thu, 1 Oct 1998 12:25:22 -0700 (PDT) Date: Thu, 1 Oct 1998 12:25:22 -0700 (PDT) From: Jin Guojun (FTG staff) Message-Id: <199810011925.MAA17556@george.lbl.gov> To: bugs@FreeBSD.ORG Subject: Re: what is changed in 3.0 for "ld" making lkm module Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > It need an -aout switch at the very least. Gee, there is more problem for this thing. All cc, ld, nm need to use -aout to access the file, but gdb does not support such a flag: --------------------------- # gdb -aout -k kernel.0 vmcore.0 gdb: unrecognized option `-aout' Use `gdb --help' for a complete list of options. e# gdb -k kernel.0 vmcore.0 GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.16 (i386-unknown-freebsd), Copyright 1996 Free Software Foundation, Inc... "/usr/var/crash/crash/kernel.0": not in executable format: File format not recognized kgdb could not open the exec-file, please check the name you used ! --------------------------- Is "-aout" a temporary flag for BETA test? What is the solution to tell gdb to debug the kernel compiled with -aout? Thanks, -Jin , To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message