From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 1 15:39:01 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4C1D16A4CE for ; Wed, 1 Sep 2004 15:39:01 +0000 (GMT) Received: from M4.sparta.com (M4.sparta.com [157.185.61.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2FE643D5F for ; Wed, 1 Sep 2004 15:39:00 +0000 (GMT) (envelope-from deker@slackdot.org) Received: from Beta5.sparta.com (beta5.sparta.com [157.185.63.21]) by M4.sparta.com (8.12.8/8.12.8) with ESMTP id i81FcxZ5025816 for ; Wed, 1 Sep 2004 10:39:00 -0500 Received: from columbia.sparta.com (lilo.columbia.SPARTA.COM [157.185.80.32]) by Beta5.sparta.com (8.12.11/8.12.11) with ESMTP id i81FcxDO030077 for ; Wed, 1 Sep 2004 10:38:59 -0500 Received: from [157.185.80.108] (7lyxg41.columbia.sparta.com [157.185.80.108]) i81Fcwfq023101 for ; Wed, 1 Sep 2004 11:38:58 -0400 (EDT) Message-ID: <4135ED10.3020505@slackdot.org> Date: Wed, 01 Sep 2004 11:38:56 -0400 From: Rob Deker User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: The continued remote debugging saga... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 15:39:02 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 So, after a lot of work and help from folks here, I've gotten remote gdb functioning (thanks again to those who helped. In the end there was a bad cable in the mix that was the final screw-up). Now I have one other question/problem. I've got cuaa0 on the target machine as the console, and cuaa1 as the gdb port. In the docs it says that to switch to gdb mode I enter 'gdb' at the ddb prompt. No problem. It also says that typing 'gdb' again will take me back to ddb. What it doesn't say is where to enter it. I've tried in gdb (no success) and on the console (also no success). What am I missing on how to switch back to ddb mode? Alternately, if I can just cause the machine to reset from gdb, that would work. I've tried the following from gdb: ~ > set $eax=0 ~ > jump boot This works SOMETIMES, but for example, the machine is at home and wedged now mid-shutdown (seems I may have screwed up an mbuf pointer and bufdaemon is upset about it). Any suggestions are welcome :) Thanks again, - -d -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBNe0QiaU9aKbHcJcRAn8FAKCUzHq9uLhqtuT48aLCjFq5kXA4UACghqbx GN9A5RK7Ktd9NsFGT5C7t2Q= =ulk7 -----END PGP SIGNATURE-----