From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21258 invoked by alias); 15 Apr 2010 18:24:12 -0000 Received: (qmail 21248 invoked by uid 22791); 15 Apr 2010 18:24:10 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Apr 2010 18:24:02 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3FIO0K4023577 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 15 Apr 2010 14:24:00 -0400 Received: from psique.localnet (vpn-252-216.phx2.redhat.com [10.3.252.216]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3FINx1W030957; Thu, 15 Apr 2010 14:23:59 -0400 From: Sergio Durigan Junior To: gdb@sourceware.org Subject: Re: identifying shared libraries in gdb? Date: Thu, 15 Apr 2010 18:24:00 -0000 User-Agent: KMail/1.13.1 (Linux/2.6.32.11-99.fc12.x86_64; KDE/4.4.1; x86_64; ; ) Cc: "Roy Smith" References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004151523.58047.sergiodj@redhat.com> 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: 2010-04/txt/msg00047.txt.bz2 On Wednesday 14 April 2010 18:42:04, Roy Smith wrote: > We've got a core file from a customer and suspect that the customer may > not have the right set of shared libraries installed. On solaris dbx, we > would use "proc -map" to see the elf checksums of each loaded library and > run "elfdump -k" on the .so's that should be there and see if the > checksums match. Is the a way to do the equivalent in gdb on linux? Hello Roy, If I understood your question correctly: I posted a patch more than a year ago that may address what you want: http://sourceware.org/ml/gdb-patches/2008-12/msg00322.html Unfortunately, I never touched this patch again (big shame on me!) and it never got accepted because I "abandoned" it. Anyway, I don't know how hard it will be to rebase it on the current HEAD, but you may want to try it. I intend to work on this patch again soon, but please let me know if you have any trouble with it. Thanks, -- Sergio