diff options
-rw-r--r-- | gdb/cli/cli-setshow.c | 6 | ||||
-rw-r--r-- | gdb/command.h | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/gdb/cli/cli-setshow.c b/gdb/cli/cli-setshow.c index 42c2b15..dcb50ca 100644 --- a/gdb/cli/cli-setshow.c +++ b/gdb/cli/cli-setshow.c @@ -37,11 +37,7 @@ notify_command_param_changed_p (bool param_changed, struct cmd_list_element *c) if (!param_changed) return false; - if (c->theclass == class_maintenance || c->theclass == class_deprecated - || c->theclass == class_obscure) - return false; - - return true; + return c->theclass != class_maintenance && c->theclass != class_obscure; } diff --git a/gdb/command.h b/gdb/command.h index 9afe70c..d6e94b9 100644 --- a/gdb/command.h +++ b/gdb/command.h @@ -46,7 +46,6 @@ enum command_class Note that help accepts unambiguous abbreviated class names. */ /* Special classes to help_list */ - class_deprecated = -3, all_classes = -2, /* help without <classname> */ all_commands = -1, /* all */ |