diff options
Diffstat (limited to 'gdbserver/regcache.h')
-rw-r--r-- | gdbserver/regcache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbserver/regcache.h b/gdbserver/regcache.h index 7248bcf..4700c03 100644 --- a/gdbserver/regcache.h +++ b/gdbserver/regcache.h @@ -112,7 +112,7 @@ int register_size (const struct target_desc *tdesc, int n); /* No throw version of find_regno. If NAME is not a known register, return an empty value. */ -gdb::optional<int> find_regno_no_throw (const struct target_desc *tdesc, +std::optional<int> find_regno_no_throw (const struct target_desc *tdesc, const char *name); int find_regno (const struct target_desc *tdesc, const char *name); |