diff options
-rw-r--r-- | gdb/cli/cli-option.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-option.h b/gdb/cli/cli-option.h index 4c62227..2645c58 100644 --- a/gdb/cli/cli-option.h +++ b/gdb/cli/cli-option.h @@ -304,7 +304,7 @@ struct string_option_def : option_def show_cmd_cb_, set_doc_, show_doc_, help_doc_) { - var_address.enumeration = detail::get_var_address<const char *, Context>; + var_address.string = detail::get_var_address<std::string, Context>; } }; |