DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 10th February 2011
shankswa shankswa is offline
New User
 
Join Date: Feb 2011
Posts: 1
Default 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
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
im and video support dennky OpenBSD Packages and Ports 13 19th January 2010 07:00 PM
MacBook Pro support guitarscn OpenBSD General 12 21st December 2009 05:46 AM
DragonFly 2.2 iwi support... sorivenul Other BSD and UNIX/UNIX-like 0 19th February 2009 07:17 AM
Asus P5Q support mururoa FreeBSD General 7 22nd January 2009 05:05 AM
radeonHD support chavez243 FreeBSD General 6 13th May 2008 09:24 AM


All times are GMT. The time now is 01:46 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick