diff options
Diffstat (limited to 'gdb/dwarf2/die.h')
-rw-r--r-- | gdb/dwarf2/die.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarf2/die.h b/gdb/dwarf2/die.h index cdee469..c704077 100644 --- a/gdb/dwarf2/die.h +++ b/gdb/dwarf2/die.h @@ -59,7 +59,7 @@ struct die_info /* 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 @@ -73,7 +73,7 @@ struct die_info 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, |