From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 989 invoked by alias); 19 Aug 2003 11:25:56 -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 969 invoked from network); 19 Aug 2003 11:25:53 -0000 Received: from unknown (HELO hotmail.com) (64.4.44.230) by sources.redhat.com with SMTP; 19 Aug 2003 11:25:53 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 19 Aug 2003 04:25:52 -0700 Received: from 195.22.77.3 by www.hotmail.msn.com with HTTP; Tue, 19 Aug 2003 11:25:52 GMT X-Originating-IP: [195.22.77.3] X-Originating-Email: [loa_gus@hotmail.com] From: "Erik Gustafsson" To: gdb@sources.redhat.com Bcc: Subject: debugging core files from other machines with archived symbol files Date: Tue, 19 Aug 2003 11:25:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 19 Aug 2003 11:25:52.0822 (UTC) FILETIME=[A62C0D60:01C36644] X-SW-Source: 2003-08/txt/msg00211.txt.bz2 Hi, I have a problem using gdb in a core file senario: A machine with my stripped shared library crashes somewere in the world. The core file is sent to me together with information on what version it was that crashed. I have archived non-stripped versions of my shared library, and now I want to get gdb to read the non-stripped version of my shared lib. 1: How do I find the base address where the text segment of my lib was loaded? 2: How can I tell gdb to load my library from my archive instead of the path where my lib was installed on the customer machine that crashed? Is there any way of doing this accept from creating a file system structure matching the one on the machine where the crash occured, and copy the correct version of the non-stripped lib file to that directory? Thx, /Staffan _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail