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:
parent
5c74315d99
commit
01c6323d54
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user