diff options
Diffstat (limited to 'gdb/cli/cli-setshow.h')
-rw-r--r-- | gdb/cli/cli-setshow.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/cli/cli-setshow.h b/gdb/cli/cli-setshow.h index c00a098..8bfe7e8 100644 --- a/gdb/cli/cli-setshow.h +++ b/gdb/cli/cli-setshow.h @@ -17,6 +17,8 @@ #ifndef CLI_CLI_SETSHOW_H #define CLI_CLI_SETSHOW_H +#include <string> + struct cmd_list_element; /* Parse ARG, an option to a boolean variable. @@ -55,6 +57,9 @@ extern void do_set_command (const char *arg, int from_tty, extern void do_show_command (const char *arg, int from_tty, struct cmd_list_element *c); +/* Get a string version of C's current value. */ +extern std::string get_setshow_command_value_string (cmd_list_element *c); + extern void cmd_show_list (struct cmd_list_element *list, int from_tty, const char *prefix); |