From owner-freebsd-firewire Sun Jun 2 7:47:46 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from www.fastmail.fm (fastmail.fm [209.61.183.86]) by hub.freebsd.org (Postfix) with ESMTP id 8F59937B405 for ; Sun, 2 Jun 2002 07:47:44 -0700 (PDT) Received: from www.fastmail.fm (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 9C56A6DA23 for ; Sun, 2 Jun 2002 09:47:40 -0500 (CDT) Received: by www.fastmail.fm (Postfix, from userid 99) id 97FBE6DA06; Sun, 2 Jun 2002 09:47:40 -0500 (CDT) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 2.117 (F2.6; T0.14; A1.42; B2.12; Q2.03) Date: Sun, 2 Jun 2002 14:47:40 +0000 From: "Glenn Gombert" To: freebsd-firewire@freebsd.org Reply-To: "Glenn Gombert" X-Epoch: 1023029260 X-Sasl-enc: vysudub4ekhpSVfo8ofseA Subject: Getting Remote GDB Running Under FireWire Message-Id: <20020602144740.97FBE6DA06@www.fastmail.fm> Sender: owner-freebsd-firewire@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello; I have the FireWire interface running between two FreeBSD machines and I am trying to get the remote gdb working and had a couple of questions: # sysctl kern.firewire.fwmem_node=[node_id] # ps -agx -M /dev/fwmem0 -N /sys/i386/compile/GENERIC/kernel when I run 'ps' I get the follwing error message: ps: can't read nprocs when I run dmesg I get the following error message: # dmesg -M /dev/fwmem0 -N /sys/i386/compile/GENERIC/kernel dmesg: kvm_read: invalid address (c0495f00) if I run gdb in a window (on the host machine) gdb starts up: # gdb -k -c /dev/fwmem0 /sys/i386/compile/GENERIC/kernel.debug ....but don't you have to set 'target remote...xxx' once the debugger starts up to connect to the remote machine ?? and # dd if=/dev/fwmem0 of=vmcore bs=1m count=[phys. memory in MB] ...how is this command executed on the Host macnine...if the gdb debugger is already running in the window...maybe a little more explination on how this is setup might be helpful... Any and all help would be appreciated!! Thanks, Glenn Gombert -- Glenn Gombert freebsd@fastmail.fm "Never trust any operating system you don't have the source code for" -- http://fastmail.fm - Get back to work To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message