This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/14704] GDB fails to decompress relocatable files


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]