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] Use DW_OP_addr for constant addresses in debuginfo


Looks good to me!  I think it's reasonably likely that the DWARF committee
will agree to admit DW_FORM_addr for DW_AT_const_value in v4.  So that
would be more space-optimal for some cases.  But this encoding has the
benefit that GDB groks it today and that GCC already won't try to produce
it at all unless you tell it to use v4 features--so the chances of
unexpectedly producing output that confuses any GDB version seem slim.


Thanks,
Roland


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