[PATCH] binutils/dwarf: Don't print duplicate range list entries

Nick Clifton nickc@redhat.com
Wed Apr 29 12:21:03 GMT 2020


Hi Andrew,

> If multiple DWARF entries reference the same offset in the
> .debug_ranges section then we will currently print duplicate range
> lists when dumping the range information.

But isn't this something that the user might want to know ?  
Eg they might be testing to see if these duplicate ranges exist or not.

We already have the concept of a raw .debug_line dump vs a processed
.debug_line dump.  Perhaps we should extend this to the .debug_ranges
section too ?

Cheers
  Nick



More information about the Binutils mailing list