DragonFly bugs List (threaded) for 2008-07
DragonFly BSD
DragonFly bugs List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

kgdb crashes when remote debugging requested


From: Jordan Gordeev <jgordeev@xxxxxx>
Date: Sun, 27 Jul 2008 22:41:07 +0300

kgdb crashes when remote debugging (-r) is requested. The crash involves a NULL pointer dereference in libkvm.
I've found that the crash was introduced with revision 1.2 of src/gnu/usr.bin/gdb/kgdb/kgdb.c.
In that revision the global variable 'kvm' isn't initialised if remote debugging is requested, however it is always used. The value of 'kvm' is passed to a libkvm function which attempts to dereference it.




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]