[Bug gdb/14704] GDB fails to decompress relocatable files
tromey at redhat dot com
sourceware-bugzilla@sourceware.org
Mon Oct 15 17:45:00 GMT 2012
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.
More information about the Gdb-prs
mailing list