From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28701 invoked by alias); 30 Jan 2003 00:50:18 -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 28694 invoked from network); 30 Jan 2003 00:50:17 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 30 Jan 2003 00:50:17 -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 h0U0Krf22450 for ; Wed, 29 Jan 2003 19:20:53 -0500 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 h0U0oHa06004 for ; Wed, 29 Jan 2003 19:50:17 -0500 Received: from localhost.localdomain (vpn50-31.rdu.redhat.com [172.16.50.31]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h0U0oGC08712; Wed, 29 Jan 2003 19:50:16 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h0U0oBG22519; Wed, 29 Jan 2003 17:50:11 -0700 Date: Thu, 30 Jan 2003 00:50:00 -0000 From: Kevin Buettner Message-Id: <1030130005010.ZM22518@localhost.localdomain> In-Reply-To: "Martin M. Hunt" "linux, threads and auto-solib-add" (Jan 29, 4:24pm) References: <1043886256.1217.64.camel@Dragon> To: "Martin M. Hunt" , gdb@sources.redhat.com Subject: Re: linux, threads and auto-solib-add MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-01/txt/msg00509.txt.bz2 On Jan 29, 4:24pm, Martin M. Hunt wrote: > I am trying to answer a question about debugging threaded applications > when auto-solib-add is off. You cannot debug pthreads programs without > first loading the symbols for libpthread. > > Given that, does it make sense to modify solid_add to always read the > symbols for libpthread, if it is in the library list? I'm not in favor of this. > Or is expected the user knows enough to always immediately do "shar > libpthread" after starting debugging a threaded program? IMO, when the user disables auto-solib-add, then the user is responsible for "hand" loading the shared libraries needed for debugging the program. Kevin