public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-dev] GDB & threads ?
  2002-06-15 19:06 [gentoo-dev] GDB & threads ? Marko Mikulicic
@ 2002-06-15 13:14 ` Francisco Gimeno
  0 siblings, 0 replies; 2+ messages in thread
From: Francisco Gimeno @ 2002-06-15 13:14 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!
> I have some strange problem debugging multi-threaded programs.
> When debugging such a program with gdb (5.1.1) whenever a thread starts
> it catches a signal SIG32 instead of showing "[New Thread whatever (LWP
> whatever)]". Every threading capability is disabled and signal handling
> is incorrect.
>
> It seems that gdb was compiled without pthread support.
> I have tried gdb 5.1.1 on mandrake 8.1 and all works.
>
> I use glibc 2.2.4 on mandrake and 2.2.5-r2 on gentoo.
>
> Has anyone experienced this problem ?
YEEEEEEEES, MEEE!!!
I was thinking I was getting crazy...

gdb didn't work as usual... thread support was strange... can't breakpoint in 
threads :P

Slt!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9Cz3WAE7Ivj6LuFMRAhYQAJ9fIcHnt1tWU3k/dMxv+1FiR1HJLgCgsHJH
3+pnQrax9UX5MKPDp9K9Glk=
=Wyld
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-dev] GDB & threads ?
@ 2002-06-15 19:06 Marko Mikulicic
  2002-06-15 13:14 ` Francisco Gimeno
  0 siblings, 1 reply; 2+ messages in thread
From: Marko Mikulicic @ 2002-06-15 19:06 UTC (permalink / raw
  To: gentoo-dev

Hello,

I have some strange problem debugging multi-threaded programs.
When debugging such a program with gdb (5.1.1) whenever a thread starts
it catches a signal SIG32 instead of showing "[New Thread whatever (LWP 
whatever)]". Every threading capability is disabled and signal handling
is incorrect.

It seems that gdb was compiled without pthread support.
I have tried gdb 5.1.1 on mandrake 8.1 and all works.

I use glibc 2.2.4 on mandrake and 2.2.5-r2 on gentoo.

Has anyone experienced this problem ?

Marko



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-15 13:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-15 19:06 [gentoo-dev] GDB & threads ? Marko Mikulicic
2002-06-15 13:14 ` Francisco Gimeno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox