Added a little blurb on origins of kgdb and
referred to gdb manpage.
main.c:
Removed -k option and delted it from -help output.
-.\" %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.
-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\
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"))