From b38d4c0188e0a2c157c2f408ae913a86044847b0 Mon Sep 17 00:00:00 2001 From: Greg Lehey Date: Sat, 7 Jun 2003 01:15:07 +0000 Subject: [PATCH] Modify startup mode: don't specify the file name for the debug kernel, so it needs to be (and can be) specified on the command line. Don't try to automatically connect to a remote machine, so that the same .gdbinit file can be used for analysing processor dumps. --- tools/debugscripts/dot.gdbinit | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/debugscripts/dot.gdbinit b/tools/debugscripts/dot.gdbinit index c150d6484ebb..758c6b47e5e1 100644 --- a/tools/debugscripts/dot.gdbinit +++ b/tools/debugscripts/dot.gdbinit @@ -3,7 +3,6 @@ # see gdbinit(9) for further details. # # The following lines (down to "end" comment) may need to be changed -file kernel.debug set output-radix 16 set height 70 set width 120 @@ -37,8 +36,7 @@ end source gdbinit.kernel source gdbinit.vinum +source gdbinit.machine -# Attach to the remote kernel -tr -# And get the symbols from klds -getsyms +echo Ready to go. Enter 'tr' to connect to remote target +echo and 'getsyms' after connection to load kld symbols.