As an addition to my previous mail, I tested KGDBoe again with same configuration and avoiding trapping. This time when i did
(gdb)info thread for 1st time itself it gave me error. To debug further I enabled debug option (gdb)set debug remote 1 and repeated info thread command. Following is the debug output (gdb) info thread Sending packet: $qfThreadInfo#bb...Sending packet: $qfThreadInfo#bb...Sending packet: $qfThreadInfo#bb...Sending packet: $qfThreadInfo#bb...Timed out. Timed out. Timed out. Ignoring packet error, continuing... and the test machine went in hang state. - Thanks and Regards Komal Nawandar On Thu, 2007-03-01 at 16:22 +0530, komal wrote: > Hi all, > > As the discussion was going on about the effects of trapping the > netpoll queue during KGDBoE debugging, I tried avoiding it. So in > eth_pre_exception_handler() I did not set net_poll_trap to 1 and did not > reset it back to 0 in eth_post_exception_handler() > > file drivers/net/kgdboe.c > > static void eth_pre_exception_handler(void) > { > /* Increment the module count when the debugger is active */ > if (!kgdb_connected) > try_module_get(THIS_MODULE); > // netpoll_set_trap(1); > } > > static void eth_post_exception_handler(void) > { > /* decrement the module count when the debugger detaches */ > if (!kgdb_connected) > module_put(THIS_MODULE); > // netpoll_set_trap(0); > } > > > As i started testing KGDBoe, 1st time I did > (gdb)info threads > and it worked, but after that I set breakpoint > (gdb)break link_path_walk > after this any of the commands were not working and the test machine > went in hang state. > To provide more information, I am working on an i386/x86_64 Athlon box, > using 2.6.17 kernel and 100Mbps, full-duplex, VIA Rhine network card. > > > -Regards > Komal Nawandar > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Kgdb-bugreport mailing list > Kgdb-bugreport@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Kgdb-bugreport mailing list Kgdb-bugreport@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport