This is the mail archive of the gdb@sourceware.org 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]
Other format: [Raw text]

pthread on powerpc, gdb 7.1


Hi all,

I actually try to use threading on a powerpc-unknown-linux-gnu.

But in gdb, there I see only the starting thread. My gdb session looks like this:

GNU DDD 3.3.12 (i486-pc-linux-gnu), by Dorothea Lütkehaus and Andreas Zeller.
Copyright © 1995-1999 Technische Universität Braunschweig, Germany.
Copyright © 1999-2001 Universität Passau, Germany.
Copyright © 2001 Universität des Saarlandes, Germany.
Copyright © 2001-2004 Free Software Foundation, Inc.
Reading symbols from /home/krud/test/flexes_test/go...done.
(gdb) set solib-absolute-prefix /opt/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu
(gdb) target remote flexes2:3000
0x3000f0f0 in _start () from /opt/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/lib/ld.so.1
(gdb) cont

Program received signal SIG32, Real-time event 32.
0x0fc919d8 in ?? ()
(gdb) cont

Program received signal SIG32, Real-time event 32.
0x0fc919d8 in ?? ()
(gdb) cont

Program received signal SIG32, Real-time event 32.
0x0fc919d8 in ?? ()
(gdb) cont
^C
Program received signal SIGINT, Interrupt.
0x0fd0eb60 in ?? ()
(gdb) info threads
* 1 Thread 349  0x0fd0eb60 in ?? ()
(gdb) 

------------

As I can see, every pthread_create results in a SIG32, but the signal is not handled to register the new thread. 

How can I make my threads visible in the gdb environment?

Thanks
 Klaus

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


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