diff options
author | Martin Cracauer <cracauer@FreeBSD.org> | 1999-12-16 16:04:24 +0000 |
---|---|---|
committer | Martin Cracauer <cracauer@FreeBSD.org> | 1999-12-16 16:04:24 +0000 |
commit | 6e041c10c0183b1d57280d1391e95bee626bd3fc (patch) | |
tree | 3fba5642195b28e0a24442dba5c9362b0c238e65 /en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.sgml | |
parent | 47be6dbf712677f7419ddd2d45c729b78e1104fd (diff) | |
download | doc-6e041c10c0183b1d57280d1391e95bee626bd3fc.tar.gz doc-6e041c10c0183b1d57280d1391e95bee626bd3fc.zip |
Note that serial gdb is not necessarily on first serial port,
but on that one with sio flags 0x80 in kernel config.
Notes
Notes:
svn path=/head/; revision=6205
Diffstat (limited to 'en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.sgml')
-rw-r--r-- | en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.sgml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.sgml b/en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.sgml index 90e9624a1b..5de8cbe4f9 100644 --- a/en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.sgml +++ b/en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.sgml @@ -1,7 +1,7 @@ <!-- The FreeBSD Documentation Project - $FreeBSD: doc/en_US.ISO_8859-1/books/handbook/kerneldebug/chapter.sgml,v 1.19 1999/11/07 01:54:48 chris Exp $ + $FreeBSD: doc/en_US.ISO_8859-1/books/handbook/kerneldebug/chapter.sgml,v 1.20 1999/12/16 01:53:05 nik Exp $ --> <chapter id="kerneldebug"> @@ -498,8 +498,9 @@ options DDB</programlisting> compile it as usual. This gives a large blurb of a binary, due to the debugging information. Copy this kernel to the target machine, strip the debugging symbols off with <command>strip -x</command>, and boot it - using the <option>-d</option> boot option. Connect the first serial - line of the target machine to any serial line of the debugging host. + using the <option>-d</option> boot option. Connect the serial line + of the target machine that has "flags 080" set on its sio device + to any serial line of the debugging host. Now, on the debugging machine, go to the compile directory of the target kernel, and start gdb:</para> |