Introduce the "with" command
[deliverable/binutils-gdb.git] / gdb / cli / cli-setshow.h
index c00a0989145613f6434ec275cafffc22436db50c..8bfe7e89f094831cc700730d01ecc2da879c72f0 100644 (file)
@@ -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);
 
This page took 0.029804 seconds and 4 git commands to generate.