From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27591 invoked by alias); 15 Oct 2012 17:45:18 -0000 Received: (qmail 27519 invoked by uid 48); 15 Oct 2012 17:45:17 -0000 From: "tromey at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/14704] GDB fails to decompress relocatable files Date: Mon, 15 Oct 2012 17:45:00 -0000 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: normal X-Bugzilla-Who: tromey at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: 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 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: 2012-q4/txt/msg00065.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14704 --- Comment #2 from Tom Tromey 2012-10-15 17:45:15 UTC --- FWIW, 7.5 decompressed the section but didn't actually apply relocations. That seems wrong. There are comments in dwarf2read (now in gdb_bfd.c) dating back to 2008 about this: 1.255 (csilvers 19-Apr-08): /* When debugging .o files, we may need to apply relocations; see 1.255 (csilvers 19-Apr-08): http://sourceware.org/ml/gdb-patches/2002-04/msg00136.html . 1.255 (csilvers 19-Apr-08): We never compress sections in .o files, so we only need to 1.255 (csilvers 19-Apr-08): try this when the section is not compressed. */ I assume that what should happen instead is that the section be decompressed, then relocations applied. -- 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.