Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2013 00:01:14 +0000 (UTC)
From:      "David E. O'Brien" <obrien@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r41291 - head/en_US.ISO8859-1/books/developers-handbook/kerneldebug
Message-ID:  <201303230001.r2N01EeF089129@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: obrien
Date: Sat Mar 23 00:01:14 2013
New Revision: 41291
URL: http://svnweb.freebsd.org/changeset/doc/41291

Log:
  Update for uart(4) (FreeBSD 8.0+).

Modified:
  head/en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.xml

Modified: head/en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.xml	Sat Mar 23 00:00:25 2013	(r41290)
+++ head/en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.xml	Sat Mar 23 00:01:14 2013	(r41291)
@@ -695,9 +695,9 @@
       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 serial line
-      of the target machine that has "flags 080" set on its sio device
-      to any serial line of the debugging host.  See &man.sio.4; for
-      information on how to set the flags on an sio device.
+      of the target machine that has "flags 080" set on its uart device
+      to any serial line of the debugging host.  See &man.uart.4; for
+      information on how to set the flags on an uart device.
       Now, on the debugging machine, go to the compile directory of the target
       kernel, and start <command>gdb</command>:</para>
 
@@ -712,7 +712,7 @@ Copyright 1996 Free Software Foundation,
     <para>Initialize the remote debugging session (assuming the first serial
       port is being used) by:</para>
 
-    <screen><prompt>(kgdb)</prompt> <userinput>target remote /dev/cuaa0</userinput></screen>
+    <screen><prompt>(kgdb)</prompt> <userinput>target remote /dev/cuau0</userinput></screen>
 
     <para>Now, on the target host (the one that entered DDB right before even
       starting the device probe), type:</para>
@@ -730,7 +730,7 @@ Stopped at Debugger+0x35: movb	$0, edata
       immediately, simply type <command>s</command> (step).  Your hosting GDB
       will now gain control over the target kernel:</para>
 
-    <screen>Remote debugging using /dev/cuaa0
+    <screen>Remote debugging using /dev/cuau0
 Debugger (msg=0xf01b0383 "Boot flags requested debugger")
     at ../../i386/i386/db_interface.c:257
 <prompt>(kgdb)</prompt></screen>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303230001.r2N01EeF089129>