Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 1997 08:24:00 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Steve Miano <stevem@grf.ov.com>
Cc:        freebsd-doc@FreeBSD.ORG
Subject:   Re: Problem doing kernel debugging with gdb.
Message-ID:  <19971015082400.12575@lemis.com>
In-Reply-To: <3.0.32.19971014153529.008f78d0@hawk.grf.ov.com>; from Steve Miano on Tue, Oct 14, 1997 at 03:35:36PM -0400
References:  <3.0.32.19971014153529.008f78d0@hawk.grf.ov.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 14, 1997 at 03:35:36PM -0400, Steve Miano wrote:
> Hello
> 
> 
> You Wrote on page 
> http://www.kr.freebsd.org/handbook/handbook268.html#602
> 
> % gdb -k kernel
> 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...
> (kgdb) 
> 
> This option does not appear to availible in my debugger. What am I missing?
> Here is the output to my version of gdb.
> 
> % gdb -k kernel
> gdb: unrecognized option `-k'
> Use `gdb --help' for a complete list of options.
> 
> % gdb
> 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 (sparc-sun-solaris2.3), Copyright 1996 Free Software Foundation, Inc.

  ^^^^^^^^

> (gdb) Quit
> 
> I am running this on a 2.5 box.

gdb thinks it's running on a Sparc under Solaris.  I tend to believe
it.  If not, I'd be very interested to know where you got the gdb
from.

Greg



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