diff options
author | grog <grog@FreeBSD.org> | 2003-06-07 01:15:07 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2003-06-07 01:15:07 +0000 |
commit | 01c6323d54e35c070e1589ccad38da7037d61738 (patch) | |
tree | fc2005282fdaa2ef9193536f535c9e7cdfae5966 /tools/debugscripts | |
parent | 5c74315d9908cae8c37e8bae75ad02847e2dd754 (diff) | |
download | FreeBSD-src-01c6323d54e35c070e1589ccad38da7037d61738.zip FreeBSD-src-01c6323d54e35c070e1589ccad38da7037d61738.tar.gz |
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.
Diffstat (limited to 'tools/debugscripts')
-rw-r--r-- | tools/debugscripts/dot.gdbinit | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/debugscripts/dot.gdbinit b/tools/debugscripts/dot.gdbinit index c150d64..758c6b4 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. |