From 5aafa1cc49c9a87aeb3e0aeaede8155fdf9f1645 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Tue, 6 Oct 2009 22:47:20 +0000 Subject: ARI fix: OP eol rule. * blockframe.c (find_pc_partial_function): Avoid operator at end of line. * buildsym.c (find_symbol_in_list): Idem. (start_subfile, patch_subfile_names): Idem. * c-exp.y (variable, yylex): Idem. * c-typeprint.c (c_print_type, c_type_print_base): Idem. * c-valprint.c (c_val_print): Idem. * coffread.c (patch_opaque_types, process_coff_symbol): Idem. * corelow.c (core_open): Idem. * cris-tdep.c (move_reg_to_mem_movem_op): Idem. * cli/cli-decode.c (help_cmd_list, find_command_name_length): Idem. --- gdb/cli/cli-decode.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gdb/cli') diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index 3e4f6f5..41328ff 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -1051,10 +1051,10 @@ help_cmd_list (struct cmd_list_element *list, enum command_class class, for (c = list; c; c = c->next) { - if (c->abbrev_flag == 0 && - (class == all_commands - || (class == all_classes && c->func == NULL) - || (class == c->class && c->func != NULL))) + if (c->abbrev_flag == 0 + && (class == all_commands + || (class == all_classes && c->func == NULL) + || (class == c->class && c->func != NULL))) { print_help_for_command (c, prefix, recurse, stream); } @@ -1108,11 +1108,11 @@ find_command_name_length (const char *text) used as a suffix for print, examine and display. Note that this is larger than the character set allowed when creating user-defined commands. */ - while (isalnum (*p) || *p == '-' || *p == '_' || + while (isalnum (*p) || *p == '-' || *p == '_' /* Characters used by TUI specific commands. */ - *p == '+' || *p == '<' || *p == '>' || *p == '$' || + || *p == '+' || *p == '<' || *p == '>' || *p == '$' /* Characters used for XDB compatibility. */ - (xdb_commands && (*p == '!' || *p == '/' || *p == '?'))) + || (xdb_commands && (*p == '!' || *p == '/' || *p == '?'))) p++; return p - text; -- cgit v1.1