[Top] [All Lists]

Problem debugging multi-threaded app

Subject: Problem debugging multi-threaded app
From: Steffen Malmgaard Mortensen <>
Date: Tue, 28 Sep 2004 11:11:40 +0200
Original-recipient: rfc822;
Hi all,

I'm trying to debug a multi-threaded app using gdbserver/gdb. I see the
same problems as described in -
the program receives SIG32, but gdb doesn't associate that with thread
creation. The solution back in 2002 was to upgrade the tool-chain, but
I'm not sure what versions I should use today (and what patches). I'm
currently using:

CPU: Ati X225 (mips4kc - little endian)
kernel: linux 2.4.18 + vendor patches

glibc: 2.3.2
gcc: 3.3.2
binutils: 2.14
(the three above from crosstool 0.27)

gdb/gdbserver: 6.2

According to strace gdbserver loads libthread_db as it should, but gdb
on my host doesn't load libthread_db.

Any help/suggestions will be greatly appriciated...

Best regards,

<Prev in Thread] Current Thread [Next in Thread>