freebsd-dev/tools/debugscripts
Greg Lehey 8454e168a9 Add documentation for previously undocumented macros. This is not
made any easier by the brain-damaged format required for the
documentation: one line, no full stops or commas.

Remove macro xy.  I can't see any use for it any more.
2003-12-29 06:37:11 +00:00
..
dot.gdbinit Add comments to deter people from using this file directly. That's 2003-12-29 06:35:14 +00:00
gdbinit.i386 Make btpp and fr work. There's still more to be done. 2003-06-08 06:10:45 +00:00
gdbinit.kernel Make defproc work. 2003-06-08 06:11:15 +00:00
gdbinit.vinum Add documentation for previously undocumented macros. This is not 2003-12-29 06:37:11 +00:00
README Explain what all this is about. 2003-12-22 00:01:53 +00:00

$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)