This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdb/Solaris2.6/C++/Multithred


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]