From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18270 invoked by alias); 19 Sep 2005 18:10:47 -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 17831 invoked by uid 22791); 19 Sep 2005 18:10:36 -0000 Received: from host254.speakeasy.net (HELO douglas.highley-recommended.com) (216.231.62.254) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 19 Sep 2005 18:10:36 +0000 Received: from douglas.highley-recommended.com (localhost.localdomain [127.0.0.1]) by douglas.highley-recommended.com (8.13.4/8.13.4) with ESMTP id j8JIAYiS023358 for ; Mon, 19 Sep 2005 11:10:34 -0700 Received: (from dhighley@localhost) by douglas.highley-recommended.com (8.13.4/8.13.4/Submit) id j8JIAXGU023356 for gdb@sources.redhat.com; Mon, 19 Sep 2005 11:10:33 -0700 From: David Highley Message-Id: <200509191810.j8JIAXGU023356@douglas.highley-recommended.com> Subject: Re: RedHat Advanced Server 3 and thread debugging To: gdb@sources.redhat.com Date: Mon, 19 Sep 2005 18:10:00 -0000 In-Reply-To: <1127149130.20359@horse.he.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2005-09/txt/msg00128.txt.bz2 "Ajay Patel wrote:" > > David, > > GDB is broken for statically linked application. > No body has bothered to fix this. Has the platform/tool world silently decided not to support static builds? Does the platform/tool world know all users needs? It must be silent by the lack of documentation! > Thanks > Ajay > > > > We have implemented and a large application that is built on many > > different operating systems with platform native tools. For Linux we use > > the RedHat Advanced Server 3 update 3 platform. Development has a lot of > > problems debugging threaded applications on this platform. > > > > We build our applications static. Today one of the developers rebuilt > > an application using the apparently undocumented option -rdynamic and > > found that he was able to get better trace back information. Then > > dynamic link was done and he found that still more debugging > > information was available. Another thing they noticed was instead of one > > pid per thread there was just one pid. Which now leads us to wonder if > > we have the same thread model in a static link and a dynamic link. > > > > Can anyone shed some intelligent light on these observations. For a > > concept that is so widely used it seems difficult to get very good > > information on any platform. > > > > > >