]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow to specify a character special device as a core file.
authorsimokawa <simokawa@FreeBSD.org>
Wed, 29 Oct 2003 14:02:16 +0000 (14:02 +0000)
committersimokawa <simokawa@FreeBSD.org>
Wed, 29 Oct 2003 14:02:16 +0000 (14:02 +0000)
commit883f5b44508dcc09274e230ccb9114ace66a40cd
treee128b338a447ef6ab175c84a45ad27e4fc72b644
parentbba7295376b2141ebdef24d4c7d958c4b5a4d4a7
Allow to specify a character special device as a core file.

This enable us to use /dev/fwmem* as a core file.
e.g.
ps -M /dev/fwmem0.0 -N kernel.debug
dmesg -M /dev/fwmem0.0 -N kernel.debug
gdb -k -c /dev/fwmem0.0 kernel.debug
You need to set target EUI64 in hw.firewire.fwmem.eui64_hi/lo before
opening the device. On the target arch, (PCI) bus address must be
equivalent to physical address.
(We cannot use this for sparc64 because of IOMMU.)

No objection in: -audit
lib/libkvm/kvm.c