This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/14704] GDB fails to decompress relocatable files
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 15 Oct 2012 17:45:15 +0000
- Subject: [Bug gdb/14704] GDB fails to decompress relocatable files
- Auto-submitted: auto-generated
- References: <bug-14704-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14704
--- Comment #2 from Tom Tromey <tromey at redhat dot com> 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.