From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8131 invoked by alias); 13 Dec 2001 16:50:29 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 8102 invoked from network); 13 Dec 2001 16:50:27 -0000 Received: from unknown (HELO mail01g.rapidsite.net) (207.158.192.232) by sources.redhat.com with SMTP; 13 Dec 2001 16:50:27 -0000 Received: from www.signalia.es (128.241.132.19) by mail01g.rapidsite.net (RS ver 1.0.60s) with SMTP id 021128014 for ; Thu, 13 Dec 2001 11:50:46 -0500 (EST) Message-ID: <004b01c183f6$e63a52e0$050c010a@sigsirius> From: =?iso-8859-1?Q?Marcos_Pindado_Sebasti=E1n?= To: Subject: Problems with GDB 5.1 and Pthreads Date: Thu, 13 Dec 2001 08:50:00 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0048_01C183FF.472BDA80" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Loop-Detect: 1 X-SW-Source: 2001-12/txt/msg00346.txt.bz2 This is a multi-part message in MIME format. ------=_NextPart_000_0048_01C183FF.472BDA80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 901 Hi. I am developing under linux SlackWare 7.0 and have several problems with gd= b and multithreaded programs. Gdb is 5.1 configured on P3 PC. - Every call to a pthread function results in the reception of a SIG32. I h= ave tried to resolve this by ignoring that signal, but... - It does not appear any message indicating a new thread is created. - I don't see any thread when writing : info threads. - The command " thread x" does not work, it says it has no id thread. - When I set a breakpoint in the code that a thread other than main thread = the program does not stop in it, but recives a SIGTRAP when that thread exi= sts. It seems there is no thread over there although simple multithread programs= work fine (when not debugging) so I am assuming Slackware does well with t= hreads. Is there any configuration option I have miss? Is there any patch to resolv= e this? Thank you very much. ------=_NextPart_000_0048_01C183FF.472BDA80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 1780
Hi.
I am developing under linux SlackWare 7.0 = and=20 have several problems with gdb and multithreaded programs.
Gdb is 5.1 configured on P3 PC.
- Every call to a pthread function results= in the=20 reception of a SIG32. I have tried to resolve this by ignoring that signal,= =20 but...
- It does not appear any message indicatin= g a new=20 thread is created.
- I don't see any thread when writing : in= fo=20 threads.
- The command " thread x" does not work, i= t says it=20 has no id thread.
- When I set a breakpoint in the code that= a thread=20 other than main thread the program does not stop in it, but recives a SIGTR= AP=20 when that thread exists.
 
It seems there is no thread over there alt= hough=20 simple multithread programs work fine (when not debugging) so I am assuming= =20 Slackware does well with threads.
Is there any configuration option I have m= iss? Is=20 there any patch to resolve this?
 
Thank you very much.
 
------=_NextPart_000_0048_01C183FF.472BDA80--