diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-18 20:57:16 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-18 20:57:16 +0000 |
commit | c0d88b1be7e38d98b52218f9c673eecb5fcd5851 (patch) | |
tree | f2342442ca6de71bcd41a5e28fddfb94f4270f40 /gdb/command.h | |
parent | 2005-02-18 Andrew Cagney <cagney@gnu.org> (diff) | |
download | binutils-gdb-c0d88b1be7e38d98b52218f9c673eecb5fcd5851.tar.gz binutils-gdb-c0d88b1be7e38d98b52218f9c673eecb5fcd5851.tar.bz2 binutils-gdb-c0d88b1be7e38d98b52218f9c673eecb5fcd5851.zip |
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.h | 11 |
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, |