No changes in the format. Version 6 contains symbols for inlined
functions, older versions didn't.
+2012-03-21 Mark Wielaard <mjw@redhat.com>
+
+ * readelf.c (print_gdb_index_section): Accept version 6.
+
2012-01-31 Mark Wielaard <mjw@redhat.com>
* readelf.c (attr_callback): Don't special case DW_FORM_sec_offset.
printf (gettext (" Version: %" PRId32 "\n"), vers);
// The only difference between version 4 and version 5 is the
- // hash used for generating the table.
- if (vers < 4 || vers > 5)
+ // hash used for generating the table. Version 6 contains symbols
+ // for inlined functions, older versions didn't.
+ if (vers < 4 || vers > 6)
{
printf (gettext (" unknown version, cannot parse section\n"));
return;