From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20561 invoked by alias); 15 Aug 2008 20:04:13 -0000 Received: (qmail 20552 invoked by uid 22791); 15 Aug 2008 20:04:12 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.113.40.141) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 15 Aug 2008 20:03:40 +0000 Received: from mailhost5.vmware.com (unknown [10.16.68.131]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 5565C67F4; Fri, 15 Aug 2008 13:03:39 -0700 (PDT) Received: from [10.20.92.47] (promb-2s-dhcp47.eng.vmware.com [10.20.92.47]) by mailhost5.vmware.com (Postfix) with ESMTP id 7C3C7DC051; Fri, 15 Aug 2008 13:03:52 -0700 (PDT) Message-ID: <48A5E0EF.9090409@vmware.com> Date: Sat, 16 Aug 2008 15:01:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: Guillaume Laferriere CC: "gdb@sourceware.org" Subject: Re: Question: How to load automatically all libraries of a back trace. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-08/txt/msg00194.txt.bz2 Guillaume Laferriere wrote: > I'm debugging an application that has a lot of shared libraries so I > always have to run with auto-solib-add turned off. > > When I get back trace I always need to go through the process of > running manually "bt" then "shared-library libMyLib.so" until I get > the full valid back trace. > > Is there a way to automate that process? > Maybe using a user command that does it for me. > Is there someone that already did that? > > Thanks in advance for the help, > I think "shared-library" with no arguments. "Info shared" will confirm for you whether they have all been loaded.