summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2003-12-22 00:01:53 +0000
committergrog <grog@FreeBSD.org>2003-12-22 00:01:53 +0000
commit4982513fbdb0caefc7afd7fe4dcc81d4b4ae0fd7 (patch)
tree6ec9f5b8556f081edb01c09d923e982fb9c51881 /tools
parent0f05bb7e9e7294612ec28bb1223b536ce917edb9 (diff)
downloadFreeBSD-src-4982513fbdb0caefc7afd7fe4dcc81d4b4ae0fd7.zip
FreeBSD-src-4982513fbdb0caefc7afd7fe4dcc81d4b4ae0fd7.tar.gz
Explain what all this is about.
Diffstat (limited to 'tools')
-rw-r--r--tools/debugscripts/README16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/debugscripts/README b/tools/debugscripts/README
new file mode 100644
index 0000000..732d3c2
--- /dev/null
+++ b/tools/debugscripts/README
@@ -0,0 +1,16 @@
+$FreeBSD$
+
+This directory contains gdb macros for kernel debugging. When you
+build a debug kernel, the target "gdbinit" in the kernel Makefile will
+create the correct .gdbinit files in the kernel build directory. To
+perform kernel debugging, you would do:
+
+ # cd /usr/obj/usr/src/sys/GENERIC (or name of kernel config)
+ # make gdbinit
+ # gdb kernel.debug
+ This GDB was configured as "i386-undermydesk-freebsd"...
+ Ready to go. Enter 'tr' to connect to remote target
+ and 'getsyms' after connection to load kld symbols.
+ (kgdb)
+
+
OpenPOWER on IntegriCloud