case DW_FORM_strx4:
if (!do_loc)
{
- const char *suffix = strrchr (section->name, '.');
+ const char *suffix = section ? strrchr (section->name, '.') : NULL;
bool dwo = suffix && strcmp (suffix, ".dwo") == 0;
if (do_wide)
SAFE_BYTE_GET_AND_INC (val, desc, 1, end);
curr
= read_and_display_attr_value (0, val, 0,
- start, curr, end, 0, 0, offset_size,
- version, NULL, 0, NULL,
+ start, curr, end, 0, 0,
+ offset_size, version,
+ NULL, 0, section,
NULL, ' ', -1);
if (n != nargs - 1)
printf (",");
unit_start, entryptr, unit_end,
0, 0, offset_size,
dwarf_version, NULL,
- (tagno < 0), NULL,
+ (tagno < 0), section,
NULL, '=', -1);
}
++tagno;