From owner-freebsd-doc Tue Oct 14 12:40:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA12411 for doc-outgoing; Tue, 14 Oct 1997 12:40:15 -0700 (PDT) (envelope-from owner-freebsd-doc) Received: from geek.grf.ov.com (geek.grf.ov.com [192.251.86.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA12316 for ; Tue, 14 Oct 1997 12:39:05 -0700 (PDT) (envelope-from stevem@grf.ov.com) Received: from belmont (belmont.cam.ov.com [192.231.148.126]) by geek.grf.ov.com (8.8.6/8.8.6) with SMTP id PAA22905 for ; Tue, 14 Oct 1997 15:45:06 -0400 (EDT) Message-Id: <3.0.32.19971014153529.008f78d0@hawk.grf.ov.com> X-Sender: stevem@hawk.grf.ov.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Tue, 14 Oct 1997 15:35:36 -0400 To: freebsd-doc@FreeBSD.ORG From: Steve Miano Subject: Problem doing kernel debugging with gdb. Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-doc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. Steve