From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3733 invoked by alias); 11 Sep 2003 17:13:59 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3726 invoked from network); 11 Sep 2003 17:13:58 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 11 Sep 2003 17:13:58 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h8BHDvl30569 for ; Thu, 11 Sep 2003 13:13:57 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h8BHDue16095 for ; Thu, 11 Sep 2003 13:13:56 -0400 Received: from localhost.redhat.com (devserv.devel.redhat.com [172.16.58.1]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h8BHDuba024284 for ; Thu, 11 Sep 2003 13:13:56 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id 422462CA3D; Thu, 11 Sep 2003 13:22:50 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16224.44905.976029.587340@localhost.redhat.com> Date: Thu, 11 Sep 2003 17:13:00 -0000 To: Andreas Westin Cc: gdb@sources.redhat.com Subject: Re: thread debugging problem In-Reply-To: <3F60AC48.6050406@student.luth.se> References: <3F60AC48.6050406@student.luth.se> X-SW-Source: 2003-09/txt/msg00157.txt.bz2 Andreas Westin writes: > Hi, > > I'm trying to debug a multithreaded program in linux, but I'm not able > to get any kind of thread info while running the program in gdb. > I've tested with gdb 5.3, 5.3.91 and cvs from yesterday (10th) not any > of them works. > info thread shows nothing and the program stops with signal 32 when a > new thread starts. > Hmmm, this usually indicates that there is no thread support available. Maybe the version of the Kernel you are using has some missing pieces. How about glibc-kernheaders? Do you get a message at gdb startu saying something about using libthread_db? > I'm using Trustix 2.0 with gcc 3.3 and glibc 2.3.2. > Not sure what Trustix is. But those versions seem roughly ok. Can you post a gdb session? elena > Any help is appreciated. > > /Andreas