From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3114 invoked by alias); 1 Feb 2011 21:47:05 -0000 Received: (qmail 3090 invoked by uid 22791); 1 Feb 2011 21:47:05 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Feb 2011 21:47:02 +0000 From: "mail at eliasprobst dot eu" To: gdb-prs@sourceware.org Subject: [Bug gdb/9538] gdb creates debuginfo path incorrectly for symlinked files X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: mail at eliasprobst dot eu X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 01 Feb 2011 21:47:00 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2011-q1/txt/msg00097.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=9538 Elias Probst changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mail at eliasprobst dot eu --- Comment #1 from Elias Probst 2011-02-01 21:46:55 UTC --- I can confirm this behaviour. The crash happens in: /usr/lib64/dri/i965_dri.so which is a symlink to /usr/lib64/mesa/i965_dri.so The splitted debugging symbols reside in /usr/lib/debug/usr/lib64/mesa/i965_dri.so.debug GDB is only able to create backtraces when copying the debugging symbols to /usr/lib/debug/usr/lib64/dri/i965_dri.so.debug I thin the fix is actually rather simple: GDB should simply do a readlink() on the path of the file which is analyzed before looking for the corresponding debugging symbols file. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.