Re: Is thread support available under Linux 2.2.14?

From: Andi Kleen (ak_at_suse.de)
Date: Thu Jan 03 2002 - 17:45:09 GMT


On Thu, Jan 03, 2002 at 09:15:09AM -0800, Bob Carragher wrote:
> Andi Kleen <ak_at_suse.de> writes:
> 
> > Signal 32 is usually used by LinuxThreads for its mutex synchronisation. 
> > You could just ignore it. I don't think ups is thread aware on linux yet, so 
> > ups will not see the other threads, but you could at least debug a single
> > thread. 
> 
> Unfortunately, there is no apparent way for me to set up Ups
> (that I'm aware of) to ignore this signal.  When I try to
> expand the signal list in the Ups window, only up to signal
> 31 is displayed.  In any case, it's the subsequent thread(s)

Hmm, should be easy to fix. 

> Since I know very little about the mechanics of threading (be it
> in Solaris or Linux), I will assume it's a fairly complex one to
> deal with, particularly for a debugger.  So, should I assume that
> that functionality will not be soon available under Ups?

I guess so.
It would be needed to implement support for libthread_db. 
Looking at ups 3.36 source I cannot even find thread support for Solaris in 
fact. 

[Note I'm not a ups hacker] 

-Andi


This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:34 GMT