summaryrefslogtreecommitdiff
path: root/gdb/command.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-18 20:57:16 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-18 20:57:16 +0000
commit4e304c1233a9604e9e6dc9ecaf925a138b01e4eb (patch)
tree9ab621cb0a4abfd922df00c5ed3b576cccd172a6 /gdb/command.h
parentc9c07f16d952a5eaa00564a04255113f5b62dbbd (diff)
downloadgdb-4e304c1233a9604e9e6dc9ecaf925a138b01e4eb.tar.gz
2005-02-18 Andrew Cagney <cagney@gnu.org>
* cli/cli-decode.c (add_setshow_integer_cmd): New function. * command.h (add_setshow_integer_cmd): Declare. * cli/cli-cmds.c: Update.
Diffstat (limited to 'gdb/command.h')
-rw-r--r--gdb/command.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/command.h b/gdb/command.h
index 01eb0de9eb9..dcebe49be8a 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -301,6 +301,17 @@ extern void add_setshow_string_noescape_cmd (char *name,
struct cmd_list_element **set_list,
struct cmd_list_element **show_list);
+extern void add_setshow_integer_cmd (char *name,
+ enum command_class class,
+ unsigned int *var,
+ const char *set_doc,
+ const char *show_doc,
+ const char *help_doc,
+ cmd_sfunc_ftype *set_func,
+ show_value_ftype *show_func,
+ struct cmd_list_element **set_list,
+ struct cmd_list_element **show_list);
+
extern void add_setshow_uinteger_cmd (char *name,
enum command_class class,
unsigned int *var,