GDB with uthread support
I downloaded the latest NetBSD source and tried to compile the toolchain that includes GDB.
I need GDB to understand user level threads (uthreads). I saw a file bsd-uthread.c in gdb6/gdb. I modified the gdb6/gdb/Makefile.in to compile bsd-uthread.c and to link into the GDB binary.
I also verified that bsd-uthread functions are available in the gdb binary through nm.
However, when i use this gdb with a multi threaded application and core, I am not able to see the threads when I give a "info threads". I get to see only the process.
1. Does bsd-uthread.c actually provide complete uthread support?
2. Is it enough if I modify the Makefile.in to compile and include this file?
3. Should some other modification be done to gdb to see uthreads?
I would appreciate a quick reply.
thank a lot!
If you need a quick reply you could try one of the IRC channels.
From http://netbsd.org/community/ :
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
|Thread||Thread Starter||Forum||Replies||Last Post|
|im and video support||dennky||OpenBSD Packages and Ports||13||19th January 2010 06:00 PM|
|MacBook Pro support||guitarscn||OpenBSD General||12||21st December 2009 04:46 AM|
|DragonFly 2.2 iwi support...||sorivenul||Other BSD and UNIX/UNIX-like||0||19th February 2009 06:17 AM|
|Asus P5Q support||mururoa||FreeBSD General||7||22nd January 2009 04:05 AM|
|radeonHD support||chavez243||FreeBSD General||6||13th May 2008 09:24 AM|