X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Fcommand.h;h=20ebef2b46faee905e7df55ccdc49a185ee5095c;hb=02e423b9b296edcf2fc50161c361062727a3263d;hp=ec75b679b6afd339fb913dfe2cc155355a8db8e4;hpb=a35736189ecc8cde8266b1942df39a969eff7cb5;p=binutils-gdb.git diff --git a/gdb/command.h b/gdb/command.h index ec75b679b6a..20ebef2b46f 100644 --- a/gdb/command.h +++ b/gdb/command.h @@ -6,7 +6,8 @@ 2000-12-01 fnasser@redhat.com */ /* Header file for command-reading library command.c. - Copyright (C) 1986, 1989, 1990, 2000 Free Software Foundation, Inc. + Copyright 1986, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1999, 2000 + Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -339,17 +340,16 @@ extern struct cmd_list_element *add_set_auto_boolean_cmd (char *name, char *doc, struct cmd_list_element **list); +extern struct cmd_list_element *add_set_boolean_cmd (char *name, + enum command_class class, + int *var, + char *doc, + struct cmd_list_element **list); + extern struct cmd_list_element *add_show_from_set (struct cmd_list_element *, struct cmd_list_element **); -/* Do a "set" or "show" command. ARG is NULL if no argument, or the text - of the argument, and FROM_TTY is nonzero if this command is being entered - directly by the user (i.e. these are just like any other - command). C is the command list element for the command. */ - -extern void do_setshow_command (char *, int, struct cmd_list_element *); - /* Do a "show" command for each thing on a command list. */ extern void cmd_show_list (struct cmd_list_element *, int, char *);