gdb/Solaris2.6/C++/Multithred

Eric Dumas edumas@tumbleweed.com
Thu Apr 20 14:13:00 GMT 2000


Hello.

I've got many problems to use gdb on an applications compiled with
SunWorkshop4.2 on Solaris2.6. The application is multi-threaded (using
the Solaris threading library).

I had to enable the following option, 
handle SIGLWP nostop pass 

in order to not be stop when a SIGLWP is sent by the threading
library.

Mostly, the wiered problem is that the program starts... I see around
30/40 threads starting, and I got stoped after a system call in
__fork1() from the libthread.so. Running continue does not help: the
process is blocked. dbx is running fine (but this debugger is not
really good for the stacks).

        Is there any tips or specific option to use for this
configuration? Thanks.
        
GNU gdb 4.18
This GDB was configured as "sparc-sun-solaris2.6".


-- 
                        Éric Dumas (Eric.Dumas@tumbleweed.com)
   Tumbleweed Communications, 700 Saginaw Drive, Redwood City, CA 94063, USA
               http://www.tumbleweed.com    Tel: +1 650-216-2030



More information about the Gdb mailing list