This is the mail archive of the gdb-patches@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]

Re: [rfc] Skip empty range entries in DW_AT_ranges


>>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:

Ulrich> The fix should be to simply ignore empty range entries as suggested by
Ulrich> the DWARF standard.  The patch below does so, which fixes the problems
Ulrich> we were seeing.  In addition, the patch adds code to complain about
Ulrich> *inverted* ranges (i.e. beginning > end), which are not allowed at all
Ulrich> according to DWARF (I haven't actually seen this complaint).

This looks good to me.

Tom


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