How to use kgdb and kdb