Subject: misc/12911: instructions for remote debugging
To: None <>
From: None <>
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
>Originator:     Martti Kuparinen
>Release:        1.5.1
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


I was reading our documentation regarding debugging the NetBSD kernel
with GDB ( and
found few things which should(?) be fixed.
Or am I too tired and got it all wrong?


--- kgdb.html.orig	Fri May 11 15:49:18 2001
+++ kgdb.html	Fri May 11 15:50:32 2001
@@ -83,7 +83,7 @@
 (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 @@
-<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
-	target remote /dev/tty00
+	target remote /dev/tty01
@@ -249,7 +249,7 @@
       file netbsd.gdb
       set remotebreak 1
       set remotebaud 9600
-      target remote /dev/tty00
+      target remote /dev/tty01