aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-10-06 22:47:20 +0000
committerPierre Muller <muller@sourceware.org>2009-10-06 22:47:20 +0000
commit5aafa1cc49c9a87aeb3e0aeaede8155fdf9f1645 (patch)
tree449e45756480c97c211d7b2e57b9ee44daaaaefc /gdb/buildsym.c
parentd6f22b989026083cc5dd9ae65226a424007078e9 (diff)
downloadgdb-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/buildsym.c')
-rw-r--r--gdb/buildsym.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index 9324a14..0385383 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -163,8 +163,8 @@ find_symbol_in_list (struct pending *list, char *name, int length)
for (j = list->nsyms; --j >= 0;)
{
pp = SYMBOL_LINKAGE_NAME (list->symbol[j]);
- if (*pp == *name && strncmp (pp, name, length) == 0 &&
- pp[length] == '\0')
+ if (*pp == *name && strncmp (pp, name, length) == 0
+ && pp[length] == '\0')
{
return (list->symbol[j]);
}
@@ -583,8 +583,8 @@ start_subfile (char *name, char *dirname)
source file. */
subfile->language = deduce_language_from_filename (subfile->name);
- if (subfile->language == language_unknown &&
- subfile->next != NULL)
+ if (subfile->language == language_unknown
+ && subfile->next != NULL)
{
subfile->language = subfile->next->language;
}
@@ -656,8 +656,8 @@ patch_subfile_names (struct subfile *subfile, char *name)
symbols have been processed for a given source file. */
subfile->language = deduce_language_from_filename (subfile->name);
- if (subfile->language == language_unknown &&
- subfile->next != NULL)
+ if (subfile->language == language_unknown
+ && subfile->next != NULL)
{
subfile->language = subfile->next->language;
}