This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: Patch to correct 64-bit DWARF info



On Mar 17, 2006, at 8:07 PM, Joseph S. Myers wrote:


When using the standard 64-bit DWARF3 format (used only on
mips64*-*-linux*, only for N64 ABI), GCC fails to include the
four-byte 0xffffffff header required at the start of CIEs and FDEs to
distinguish 64-bit DWARF from 32-bit DWARF, and wrongly uses the
32-but CIE identifier instead of the 64-bit one.  In addition, there
is confusion about whether dw_val_class_loc_list should be represented
as DW_FORM_data4 or DW_FORM_data8.

This patch fixes these problems.  Tested that the patched compiler
generates debuggable binaries for all ABIs on mips64el-linux; there
should be no effects on any other target.  OK to commit?

Hmm, doesn't this fix PR 15810?


Thanks,
Andrew Pinski


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