From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 627 invoked by alias); 4 Nov 2011 20:54:38 -0000 Received: (qmail 619 invoked by uid 22791); 4 Nov 2011 20:54:37 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from p-us1-iereast-outbound.us1.avaya.com (HELO p-us1-iereast-outbound.us1.avaya.com) (135.11.29.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Nov 2011 20:54:23 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EAO5PtE7GmAcF/2dsb2JhbABDqgOBBYFyAQEBAQMSKE8CAQgNCCEQMiUBAQQBEggaogGbXohIYwSZbIwy Received: from unknown (HELO co300216-co-erhwest.avaya.com) ([198.152.7.5]) by p-us1-iereast-outbound.us1.avaya.com with ESMTP; 04 Nov 2011 16:54:22 -0400 Received: from unknown (HELO DC-US1HCEX3.global.avaya.com) ([135.11.52.22]) by co300216-co-erhwest-out.avaya.com with ESMTP; 04 Nov 2011 16:51:44 -0400 Received: from DC-US1MBEX4.global.avaya.com ([169.254.1.55]) by DC-US1HCEX3.global.avaya.com ([135.11.52.22]) with mapi; Fri, 4 Nov 2011 16:54:21 -0400 From: "Worley, Dale R (Dale)" To: Pedro Alves , "gdb@sourceware.org" Date: Fri, 04 Nov 2011 20:54:00 -0000 Subject: RE: Shared libaries and core files Message-ID: References: <201111041838.12151.pedro@codesourcery.com> ,<201111042040.08118.pedro@codesourcery.com> In-Reply-To: <201111042040.08118.pedro@codesourcery.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2011-11/txt/msg00032.txt.bz2 i> From: Pedro Alves [pedro@codesourcery.com] >=20 > $ gdb /path/to/program -c /path/to/core > (gdb) info sharedlibrary >=20 > Or were you thinking of something else? I wasn't aware of "info sharedlibrary". What I want is something that can be done from the command line. It looks like gdb [executable] -c [core] -silent -ex 'info sharedlibrary' -ex quit will suffice. The output from that can be postprocessed to make a list of the libraries. Thanks! Dale