/* Return the address base of the compile unit, which, if exists, is
stored either at the attribute DW_AT_GNU_addr_base, or
DW_AT_addr_base. */
- gdb::optional<ULONGEST> addr_base ()
+ std::optional<ULONGEST> addr_base ()
{
for (unsigned i = 0; i < num_attrs; ++i)
if (attrs[i].name == DW_AT_addr_base
complaint (_("address base attribute (offset %s) as wrong form"),
sect_offset_str (sect_off));
}
- return gdb::optional<ULONGEST> ();
+ return std::optional<ULONGEST> ();
}
/* Return the base address of the compile unit into the .debug_ranges section,