From owner-freebsd-questions Fri Aug 30 4:29:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22B0537B400 for ; Fri, 30 Aug 2002 04:29:12 -0700 (PDT) Received: from relay02.cablecom.net (relay02.cablecom.net [62.2.33.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DCF943E65 for ; Fri, 30 Aug 2002 04:29:11 -0700 (PDT) (envelope-from hanspeter_roth@hotmail.com) Received: from gicco.cablecom.ch (dclient217-162-80-132.hispeed.ch [217.162.80.132]) by relay02.cablecom.net (8.12.5/8.12.5/SOL/AWF/MXRELAY/20020820) with ESMTP id g7UBT9Ws039073 for ; Fri, 30 Aug 2002 13:29:09 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Received: (from idefix@localhost) by gicco.cablecom.ch (8.11.6/8.11.6) id g7UBT8b12045 for freebsd-questions@freebsd.org; Fri, 30 Aug 2002 13:29:08 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Date: Fri, 30 Aug 2002 13:29:08 +0200 From: Hanspeter Roth To: freebsd-questions@freebsd.org Subject: remote debugging session Message-ID: <20020830132908.A11981@gicco.cablecom.ch> Reply-To: freebsd-questions@freebsd.org Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I'm trying to establish a remote debugging session as described in chapter 17.5 in the Developers' Handbook. When enabling ttyd0 for getty in /etc/ttys I can establish a session by minicom. Thus I can assume the serial cable should work. I guess for a debugging session getty has to be off on ttyd0. On the target host I pass to the debugger and then enter the `gdb' command. I get the message: `Next trap will enter GDB remote protocol mode' as described. Thereafter the prompt db> appears again. But on the remote host when entering `target remote /dev/cuaa0' I get: (kgdb) target remote /dev/cuaa0 Remote debugging using /dev/cuaa0 Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... Couldn't establish connection to remote target Malformed response to offset query, timeout The speed is 9600 baud on both ends. What else could be the cause? -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message