Subject: misc/12911: instructions for remote debugging
To: None <gnats-bugs@gnats.netbsd.org>
From: None <martti.kuparinen@iki.fi>
List: netbsd-bugs
Date: 05/11/2001 15:54:18
>Number: 12911
>Category: misc
>Synopsis: instructions for remote debugging
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri May 11 06:53:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Martti Kuparinen
>Release: 1.5.1
>Organization:
>Environment:
System: NetBSD dhcp39 1.5.1_BETA2 NetBSD 1.5.1_BETA2 (KAYAK) #2: Thu May 10 10:46:31 CEST 2001 root@dhcp39:/usr/src/sys/arch/i386/compile/KAYAK i386
>Description:
I was reading our documentation regarding debugging the NetBSD kernel
with GDB (http://www.netbsd.org/Documentation/kernel/kgdb.html) and
found few things which should(?) be fixed.
Or am I too tired and got it all wrong?
>How-To-Repeat:
>Fix:
--- kgdb.html.orig Fri May 11 15:49:18 2001
+++ kgdb.html Fri May 11 15:50:32 2001
@@ -83,7 +83,7 @@
</h3><dl><dt><dd>
(In the following, I assume that you'll be using tty01 on the REMOTE
-machine (the one running gdb) and tty00 on the "target" (the one being
+machine (the one running gdb) and tty00 on the TARGET (the one being
debugged). This should hopefully straighten out any confusion about
which serial port is being referenced in the instructions)<p><p>
@@ -210,12 +210,12 @@
</PRE>
<p>
-<li>Connect to the REMOTE machine (assuming you're using tty00 on the
+<li>Connect to the TARGET machine (assuming you're using tty01 on the
REMOTE):
<p>
<PRE>
- target remote /dev/tty00
+ target remote /dev/tty01
</PRE>
<p>
@@ -249,7 +249,7 @@
file netbsd.gdb
set remotebreak 1
set remotebaud 9600
- target remote /dev/tty00
+ target remote /dev/tty01
</PRE>
<p>
>Release-Note:
>Audit-Trail:
>Unformatted: