mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
Explain what all this is about.
This commit is contained in:
parent
0e1cbf3725
commit
0fa02ea5f7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123709
16
tools/debugscripts/README
Normal file
16
tools/debugscripts/README
Normal file
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user