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.
This commit is contained in:
Greg Lehey 2003-06-07 01:15:07 +00:00
parent c16bf428a9
commit b38d4c0188
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115928

View File

@ -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.