Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jun 2002 14:47:40 +0000
From:      "Glenn Gombert" <freebsd@fastmail.fm>
To:        freebsd-firewire@freebsd.org
Subject:   Getting Remote GDB Running Under FireWire
Message-ID:  <20020602144740.97FBE6DA06@www.fastmail.fm>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020602144740.97FBE6DA06>