A Patch for kgdb

Jessica Han jessicah at juniper.net
Thu Nov 16 16:48:59 PST 2006


I got an infinite loop while trying to debug a kernel core on FreeBSD 6.1.
# uname -sr
FreeBSD 6.1-RELEASE
#kgdb kernel vmcore.0
kgdb: kvm_read: invalid address (0x50012)
kgdb: kvm_read: invalid address (0x7)
kgdb: kvm_read: invalid address (0xf5c)
kgdb: kvm_read: invalid address (0xf5c)
kgdb: kvm_read: invalid address (0xf5c)

The attached patch fixed it, can somebody review it for me and commit it 
if it is okay? Thanks,

Jessica
jessicah at juniper.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kthr.c.patch
Type: text/x-patch
Size: 698 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20061117/2e3b36d2/kthr.c.bin


More information about the freebsd-arch mailing list