Add a debug directory under src/test, where we will house all of our debug
authorHiten Pandya <hmp@dragonflybsd.org>
Sat, 26 Jun 2004 13:09:52 +0000 (13:09 +0000)
committerHiten Pandya <hmp@dragonflybsd.org>
Sat, 26 Jun 2004 13:09:52 +0000 (13:09 +0000)
commit94669a3209b820a3f30ae5c99af3bd093f14e716
treecbbe547b0c3d5b32ed07177b28a70939b9b7666c
parent2971a3cf7e3b6a39add1e3f5d81997bce9f28fc8
Add a debug directory under src/test, where we will house all of our debug
scripts that will aid the debugging of the kernel and other code.

I have added a GDB macro set in file 'gdb.kernel' which contains some
helpful macros, such as listing processes, iterating CPU's globaldata,
a kldstat(1) style macro etc.

The 'gdb.kernel' file was written by:

Hiten Pandya <hmp@backplane.com>,
Matthew Dillon <dillon@apollo.backplane.com>

The kldstat(1) macro should be helpful with the asf(1) utility which
is used for setting the right offset to load the KLD's symbols.
test/debug/README [new file with mode: 0644]
test/debug/gdb.kernel [new file with mode: 0644]