freebsd kernel with SKQ
Go to file
marcel 79ca58867f Add the beginnings of kernel debugging support. the kgdb(1) tool
is basicly a shell on top of libgdb that knows about kernel threads,
kernel modules and kvm(3). As the word "beginnings" implies, not
all of the features have been implemented yet. The tool is useful
and I'd like feedback on the taken route.

The simplest way to debug a kernel core file is:
	kgdb -n 0

This opens /var/crash/vmcore.0 with the corresponding kernel in
the object directory (kernel.debug is used if it exists).

Typical things that need to be added are:
o  Auto loading of kernel modules,
o  Handling of trapframes so that backtraces can be taken across
   them,
o  Some fancy commands to extract useful information out of a core
   file,
o  Various (probably many) other things.
2004-07-25 05:29:15 +00:00
bin Currently if a mount point is not accessible by the calling user, 2004-07-20 18:24:47 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r132536, 2004-07-22 09:16:04 +00:00
crypto Regenerate. 2004-04-20 09:49:37 +00:00
etc Correct typo. 2004-07-24 16:30:31 +00:00
games Make this WARNS=3 clean. 2004-07-23 11:36:35 +00:00
gnu Add the beginnings of kernel debugging support. the kgdb(1) tool 2004-07-25 05:29:15 +00:00
include Add __pure and __pure2 where appropriate. 2004-07-23 07:13:35 +00:00
kerberos5 Update version strings for Heimdal: 0.6 -> 0.6.1 2004-04-13 16:41:00 +00:00
lib Minor style nits. 2004-07-24 22:30:35 +00:00
libexec Fix a few cases that relied on 'implicit int' (constraint violation in C99). 2004-07-11 17:37:33 +00:00
release Improve package list for disc3: 2004-07-22 01:37:56 +00:00
rescue Remove dangling raidctl reference 2004-03-16 13:42:23 +00:00
sbin Fix potential buffer overflow. 2004-07-24 19:11:40 +00:00
secure Import the openssl conf for arm. 2004-05-14 12:26:51 +00:00
share Move snc.4 over to the i386 section as it only deals with PC98 and i386. 2004-07-24 20:41:45 +00:00
sys More comment frobbing: insert a missing comma, and spell permissions 2004-07-25 00:47:11 +00:00
tools Add two more programs useful for testing the correctness of pipes. 2004-07-22 02:46:25 +00:00
usr.bin A bunch of style and security fixes (error checking return values, etc), 2004-07-25 04:15:50 +00:00
usr.sbin Now that mlockall(2) is unbroken, use it to keep watchdogd(8) permanently 2004-07-23 15:24:57 +00:00
COPYRIGHT Update the COPYRIGHT file to include FreeBSD's compilation copyright 2003-12-31 22:35:22 +00:00
installworld_newk Commit the first set of files for changing time_t on freebsd/sparc64 2004-03-03 19:36:20 +00:00
installworld_oldk Commit the first set of files for changing time_t on freebsd/sparc64 2004-03-03 19:36:20 +00:00
MAINTAINERS s/manditory/mandatory 2004-07-17 20:22:24 +00:00
Makefile The doc team reworked the section of the handbook describing how to 2004-07-23 21:21:34 +00:00
Makefile.inc1 Get rid of the THISHOST variable when building on sparc64. The problem 2004-07-08 09:08:09 +00:00
README
UPDATING Ports related rc.d cleanups: 2004-07-24 14:56:21 +00:00
UPDATING.64BTT Add a tip for people who are using database-related ports on a sparc64 2004-03-17 01:59:47 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html