DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th February 2011
shankswa shankswa is offline
New User
 
Join Date: Feb 2011
Posts: 1
Thanked 0 Times in 0 Posts
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
  #2   (View Single Post)  
Old 10th February 2011
J65nko J65nko is online now
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,193
Thanked 182 Times in 149 Posts
Default

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
Reply With Quote
Reply

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 03:16 AM.


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