Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 1998 12:25:22 -0700 (PDT)
From:      Jin Guojun (FTG staff) <jin@george.lbl.gov>
To:        bugs@FreeBSD.ORG
Subject:   Re: what is changed in 3.0 for "ld" making lkm module
Message-ID:  <199810011925.MAA17556@george.lbl.gov>

next in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810011925.MAA17556>