[binutils patch] DWARF-5: readelf: .debug_names

Nick Clifton nickc@redhat.com
Tue Jun 6 13:41:00 GMT 2017


Hi Jan,

> binutils/ChangeLog
> 2017-05-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* dwarf.c: Include assert.h.
> 	(MAX, MIN, get_IDX_name, display_debug_names): New.
> 	(debug_displays): Add .debug_names.
> 	* dwarf.h: (enum dwarf_section_display_enum): Add debug_names.
> 	* readelf.c (process_section_headers): Add ".debug_names".

Approved - please apply.

Note:

> +      printf (_("Version %ld\n"), (long) dwarf_version);
> +      if (dwarf_version != 5)

Shouldn't this test be for >= 5 ?

Cheers
  Nick



More information about the Binutils mailing list