From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26671 invoked by alias); 25 Aug 2011 20:31:29 -0000 Received: (qmail 26660 invoked by uid 22791); 25 Aug 2011 20:31:28 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS 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, 25 Aug 2011 20:31:08 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7PKV777021013 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 25 Aug 2011 16:31:07 -0400 Received: from host1.jankratochvil.net (ovpn-116-38.ams2.redhat.com [10.36.116.38]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p7PKV571027158 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 25 Aug 2011 16:31:07 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p7PKV4Ln022048; Thu, 25 Aug 2011 22:31:04 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p7PKV3p9022047; Thu, 25 Aug 2011 22:31:03 +0200 Date: Thu, 25 Aug 2011 20:31:00 -0000 From: Jan Kratochvil To: "Worley, Dale R (Dale)" Cc: Baurzhan Ismagulov , "gdb@sourceware.org" Subject: Re: Shared libraries and separate debugging files Message-ID: <20110825203103.GA21880@host1.jankratochvil.net> References: <20110824222150.GM25065@radix50.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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-08/txt/msg00117.txt.bz2 On Thu, 25 Aug 2011 21:20:32 +0200, Worley, Dale R (Dale) wrote: > So /lib/libc-2.11.2.so > has been copied into /home/foo/crash1/lib/libc-2.11.2.so, and its > debug file is in /home/foo/crash1/usr/lib/debug/lib/libc-2.11.2.so. > But there does not appear to be a way to configure GDP to understand > the connection between the two files. `set sysroot' and `set debug-file-directory' should be enough, I agree it is not user friendly but I always used strace -o x gdb ... to easily see in `x' where GDB tries to search for which library files. Regards, Jan