aboutsummaryrefslogtreecommitdiff
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
commitc0d88b1be7e38d98b52218f9c673eecb5fcd5851 (patch)
treef2342442ca6de71bcd41a5e28fddfb94f4270f40 /gdb/command.h
parent35096d9d67ac1c2bc69fff09e23849df4c238233 (diff)
downloadfsf-binutils-gdb-c0d88b1be7e38d98b52218f9c673eecb5fcd5851.zip
fsf-binutils-gdb-c0d88b1be7e38d98b52218f9c673eecb5fcd5851.tar.gz
fsf-binutils-gdb-c0d88b1be7e38d98b52218f9c673eecb5fcd5851.tar.bz2
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 01eb0de..dcebe49 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,