kgdb.1:
authorPaul Richards <paul@isl.cf.ac.uk>
Fri, 10 Jun 1994 17:02:50 +0000 (17:02 +0000)
committerPaul Richards <paul@isl.cf.ac.uk>
Fri, 10 Jun 1994 17:02:50 +0000 (17:02 +0000)
Added a little blurb on origins of kgdb and
referred to gdb manpage.
main.c:
Removed -k option and delted it from -help output.

gnu/usr.bin/kgdb/kgdb.1
gnu/usr.bin/kgdb/main.c

index 57d744b..3cc2dd9 100644 (file)
@@ -1,3 +1,15 @@
-.\"    %W% (Berkeley) %G%
-.\"
-.\" placeholder, until we can produce the manual page
+.\" Copyright (c) 1994 Paul Richards
+.TH kgdb 1 "10June94" "GNU Tools" "GNU Tools"
+.SH NAME
+kgdb \- The GDB Kernel Debugger
+.SH SYNOPSIS
+.na
+.TP
+.B kgdb
+.RB "[\|" \-help "\|]"
+.ad b
+.SH DESCRIPTION
+kgdb is the old gdb (GDB-3.5) used in FreeBSD 1.1 hardwired
+to run in kernel debugging mode since the installed gdb (GDB-4.11)
+does not support kernel debugging. For further details on gdb refer
+to the gdb man page.
index 81b5349..37b6c18 100644 (file)
@@ -383,7 +383,6 @@ Options available are:\n\
   -exec EXECFILE    Use EXECFILE as the executable.\n\
   -se FILE          Use FILE as symbol file and executable file.\n\
   -core COREFILE    Analyze the core dump COREFILE.\n\
   -exec EXECFILE    Use EXECFILE as the executable.\n\
   -se FILE          Use FILE as symbol file and executable file.\n\
   -core COREFILE    Analyze the core dump COREFILE.\n\
-  -k                Kernel debugging.\n\
   -w                Writeable text.\n\
   -v                Print GNU message and version number on startup.\n\
   -nc               Don't confirm quit or run commands.\n\
   -w                Writeable text.\n\
   -v                Print GNU message and version number on startup.\n\
   -nc               Don't confirm quit or run commands.\n\
@@ -394,10 +393,6 @@ GDB manual (available as on-line info or a printed manual).\n", stderr);
             the most useful thing to do.  */
          exit (0);
        }
             the most useful thing to do.  */
          exit (0);
        }
-#ifdef KERNELDEBUG
-      else if (!strcmp (argv[i], "-k"))
-       kernel_debugging = 1;
-#endif
       else if (!strcmp (argv[i], "-w"))
        writeable_text = 1;
       else if (!strcmp (argv[i], "-v"))
       else if (!strcmp (argv[i], "-w"))
        writeable_text = 1;
       else if (!strcmp (argv[i], "-v"))