diff options
Diffstat (limited to 'gdb/extension-priv.h')
-rw-r--r-- | gdb/extension-priv.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/extension-priv.h b/gdb/extension-priv.h index e71eac20..ccb63e6 100644 --- a/gdb/extension-priv.h +++ b/gdb/extension-priv.h @@ -256,13 +256,13 @@ struct extension_language_ops CONTENTS is the contents of the file. This should either return colorized (using ANSI terminal escapes) version of the contents, or an empty option. */ - gdb::optional<std::string> (*colorize) (const std::string &name, + std::optional<std::string> (*colorize) (const std::string &name, const std::string &contents); /* Colorize a single line of disassembler output, CONTENT. This should either return colorized (using ANSI terminal escapes) version of the contents, or an empty optional. */ - gdb::optional<std::string> (*colorize_disasm) (const std::string &content, + std::optional<std::string> (*colorize_disasm) (const std::string &content, gdbarch *gdbarch); /* Print a single instruction from ADDRESS in architecture GDBARCH. INFO @@ -276,7 +276,7 @@ struct extension_language_ops If no instruction can be disassembled then return an empty value and other extension languages will get a chance to perform the disassembly. */ - gdb::optional<int> (*print_insn) (struct gdbarch *gdbarch, + std::optional<int> (*print_insn) (struct gdbarch *gdbarch, CORE_ADDR address, struct disassemble_info *info); |