diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-05-07 13:35:52 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-05-07 13:35:52 +0000 |
commit | 1517056850dfb18e2b5d8301b93a3d5e5ef3a42a (patch) | |
tree | 33f5893e8813088a80f298de5fa26b95ce4e3049 /gdb/command.h | |
parent | f2785d123f76572a84b35c047bace669ebe14495 (diff) | |
download | gdb-1517056850dfb18e2b5d8301b93a3d5e5ef3a42a.zip gdb-1517056850dfb18e2b5d8301b93a3d5e5ef3a42a.tar.gz gdb-1517056850dfb18e2b5d8301b93a3d5e5ef3a42a.tar.bz2 |
2004-05-07 Andrew Cagney <cagney@redhat.com>
* cli/cli-decode.c (add_setshow_zinteger_cmd): New function.
* command.h (add_setshow_zinteger_cmd): Declare.
Diffstat (limited to 'gdb/command.h')
-rw-r--r-- | gdb/command.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/command.h b/gdb/command.h index c4a5f20..d441a7f 100644 --- a/gdb/command.h +++ b/gdb/command.h @@ -272,6 +272,16 @@ extern void add_setshow_uinteger_cmd (char *name, struct cmd_list_element **set_list, struct cmd_list_element **show_list); +extern void add_setshow_zinteger_cmd (char *name, + enum command_class class, + int *var, + char *set_doc, + char *show_doc, + cmd_sfunc_ftype *set_func, + cmd_sfunc_ftype *show_func, + struct cmd_list_element **set_list, + struct cmd_list_element **show_list); + extern struct cmd_list_element *add_show_from_set (struct cmd_list_element *, struct cmd_list_element **); |