diff options
author | Pierre Muller <muller@sourceware.org> | 2009-10-06 22:47:20 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2009-10-06 22:47:20 +0000 |
commit | 5aafa1cc49c9a87aeb3e0aeaede8155fdf9f1645 (patch) | |
tree | 449e45756480c97c211d7b2e57b9ee44daaaaefc /gdb/cli/cli-decode.c | |
parent | d6f22b989026083cc5dd9ae65226a424007078e9 (diff) | |
download | gdb-5aafa1cc49c9a87aeb3e0aeaede8155fdf9f1645.zip gdb-5aafa1cc49c9a87aeb3e0aeaede8155fdf9f1645.tar.gz gdb-5aafa1cc49c9a87aeb3e0aeaede8155fdf9f1645.tar.bz2 |
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.
Diffstat (limited to 'gdb/cli/cli-decode.c')
-rw-r--r-- | gdb/cli/cli-decode.c | 14 |
1 files changed, 7 insertions, 7 deletions
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; |