* Problem debugging multi-threaded app
@ 2004-09-28 9:11 Steffen Malmgaard Mortensen
2004-09-29 6:14 ` Steffen Malmgaard Mortensen
0 siblings, 1 reply; 2+ messages in thread
From: Steffen Malmgaard Mortensen @ 2004-09-28 9:11 UTC (permalink / raw)
To: linux-mips
Hi all,
I'm trying to debug a multi-threaded app using gdbserver/gdb. I see the
same problems as described in
http://www.linux-mips.org/archives/linux-mips/2002-09/msg00155.html -
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,
Steffen
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem debugging multi-threaded app
2004-09-28 9:11 Problem debugging multi-threaded app Steffen Malmgaard Mortensen
@ 2004-09-29 6:14 ` Steffen Malmgaard Mortensen
0 siblings, 0 replies; 2+ messages in thread
From: Steffen Malmgaard Mortensen @ 2004-09-29 6:14 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]
Hi again,
Sorry - I know I shouldn't even be allowed to ask questions...... It was
another old, known bug - I was running with stripped libpthread......
/Steffen
On Tue, 2004-09-28 at 11:11, Steffen Malmgaard Mortensen wrote:
> Hi all,
>
> I'm trying to debug a multi-threaded app using gdbserver/gdb. I see the
> same problems as described in
> http://www.linux-mips.org/archives/linux-mips/2002-09/msg00155.html -
> 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,
> Steffen
>
>
>
[-- Attachment #2: Type: text/html, Size: 1455 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-29 6:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-28 9:11 Problem debugging multi-threaded app Steffen Malmgaard Mortensen
2004-09-29 6:14 ` Steffen Malmgaard Mortensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox