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: [binutils patch] DWARF-5: readelf: .debug_names


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


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