From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12931 invoked by alias); 19 Sep 2005 20:42:49 -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 12902 invoked by uid 22791); 19 Sep 2005 20:42:46 -0000 Received: from kymasys.com (HELO kymasys.com) (66.160.167.99) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Mon, 19 Sep 2005 20:42:46 +0000 Received: from horse.he.net ([127.0.0.9]) by kymasys.com for ; Mon, 19 Sep 2005 13:42:40 -0700 Message-Id: <1127162560.15892@horse.he.net> Date: Mon, 19 Sep 2005 20:42:00 -0000 From: "Ajay Patel" To: Mark Kettenis ,pkoning@equallogic.com,dhighley@highley-recommended.com, gdb@sources.redhat.com Subject: Re: RedHat Advanced Server 3 and thread debugging X-IPAddress: 128.107.253.38 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-SW-Source: 2005-09/txt/msg00134.txt.bz2 > Well, that all depends on what version of the Linux kernel you're > running, what version of glibc you're running, and of course what > version of gdb you're using. I have tried various combination of glic, kernel and gdb on different platform. Nothing works for me. Platform : I386 & PPC Kernel : 2.6.9, 2.6.11 & 2.6.11-1.1369_FC4. Glibc : 2.3.4 and 2.3.5 with NPTL. Gdb : 6.3 and Gdb from Debian CVS. > > It's also important to realize that if you're stripping (parts of) > your binaries, there's simply not enough information left for gdb to > produce meaningful backtraces. If you use -rdynamic, at least there > is the dynamic symbol table for gdb to use. The problem is, when brekpoint is encountered in a non-main thread (or Newly created thread), the GDB terminates with SIGTRAP. Thanks Ajay