GDB with uthread support
Hi,
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!
regards,
-shankar
|