aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-17 13:49:56 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-17 13:49:56 +0000
commit2c5b56ce999bb9327c42afc09ad015e850298573 (patch)
tree17afb21a41357622cd26d0e042a0f23b4375a282 /gdb/command.h
parentf17c130bd8665a588e814387e43b8fe35e3d2fad (diff)
downloadgdb-2c5b56ce999bb9327c42afc09ad015e850298573.zip
gdb-2c5b56ce999bb9327c42afc09ad015e850298573.tar.gz
gdb-2c5b56ce999bb9327c42afc09ad015e850298573.tar.bz2
2005-02-17 Andrew Cagney <cagney@gnu.org>
* cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd) (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) (add_setshow_filename_cmd, add_setshow_string_cmd) (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete fprint_setshow parameter. * command.h (fprint_setshow_ftype): Delete. (add_setshow_cmd_full, add_setshow_enum_cmd) (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) (add_setshow_filename_cmd, add_setshow_string_cmd) (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete fprint_setshow parameter. * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update. * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update. * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update. * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update * remote.c, target.c, cli/cli-logging.c: Update.
Diffstat (limited to 'gdb/command.h')
-rw-r--r--gdb/command.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/gdb/command.h b/gdb/command.h
index e065dcd..b0e17a7 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -224,12 +224,6 @@ extern struct cmd_list_element *add_set_enum_cmd (char *name,
char *doc,
struct cmd_list_element **list);
-/* Print the set|show CMD's variable's VALUE on FILE. Do not include
- a trailing "\n". */
-typedef void (fprint_setshow_ftype) (struct cmd_list_element *cmd,
- struct ui_file *file,
- const char *value);
-
/* Method for show a set/show variable's VALUE on FILE. If this
method isn't supplied deprecated_show_value_hack() is called (which
is not good). */
@@ -248,7 +242,6 @@ extern void add_setshow_enum_cmd (char *name,
const char *set_doc,
const char *show_doc,
const char *help_doc,
- fprint_setshow_ftype *fprint_setshow,
cmd_sfunc_ftype *set_func,
show_value_ftype *show_func,
struct cmd_list_element **set_list,
@@ -260,7 +253,6 @@ extern void add_setshow_auto_boolean_cmd (char *name,
const char *set_doc,
const char *show_doc,
const char *help_doc,
- fprint_setshow_ftype *fprint_setshow,
cmd_sfunc_ftype *set_func,
show_value_ftype *show_func,
struct cmd_list_element **set_list,
@@ -270,7 +262,7 @@ extern void add_setshow_boolean_cmd (char *name,
enum command_class class,
int *var,
const char *set_doc, const char *show_doc,
- const char *help_doc, fprint_setshow_ftype *fprint_setshow,
+ const char *help_doc,
cmd_sfunc_ftype *set_func,
show_value_ftype *show_func,
struct cmd_list_element **set_list,
@@ -282,7 +274,6 @@ extern void add_setshow_filename_cmd (char *name,
const char *set_doc,
const char *show_doc,
const char *help_doc,
- fprint_setshow_ftype *fprint_setshow,
cmd_sfunc_ftype *set_func,
show_value_ftype *show_func,
struct cmd_list_element **set_list,
@@ -294,7 +285,6 @@ extern void add_setshow_string_cmd (char *name,
const char *set_doc,
const char *show_doc,
const char *help_doc,
- fprint_setshow_ftype *fprint_setshow,
cmd_sfunc_ftype *set_func,
show_value_ftype *show_func,
struct cmd_list_element **set_list,
@@ -306,7 +296,6 @@ extern void add_setshow_uinteger_cmd (char *name,
const char *set_doc,
const char *show_doc,
const char *help_doc,
- fprint_setshow_ftype *fprint_setshow,
cmd_sfunc_ftype *set_func,
show_value_ftype *show_func,
struct cmd_list_element **set_list,
@@ -318,7 +307,6 @@ extern void add_setshow_zinteger_cmd (char *name,
const char *set_doc,
const char *show_doc,
const char *help_doc,
- fprint_setshow_ftype *fprint_setshow,
cmd_sfunc_ftype *set_func,
show_value_ftype *show_func,
struct cmd_list_element **set_list,