2011-03-05 Michael Snyder <msnyder@vmware.com>

* dwarf2expr.c (execute_stack_op): Delete superfluous semicolon.
	* mdebugread.c (parse_symbol): Ditto.
	* parse.c (parse_exp_in_context): Ditto.
	* source.c (add_path): Ditto.
	* utils.c (gnu_debuglink_crc32): Ditto.
	* varobj.c (variable_language): Ditto.
This commit is contained in:
Michael Snyder 2011-03-05 22:02:47 +00:00
parent e3aa49afd5
commit 82ae485463
7 changed files with 13 additions and 6 deletions

View File

@ -1,5 +1,12 @@
2011-03-05 Michael Snyder <msnyder@vmware.com>
* dwarf2expr.c (execute_stack_op): Delete superfluous semicolon.
* mdebugread.c (parse_symbol): Ditto.
* parse.c (parse_exp_in_context): Ditto.
* source.c (add_path): Ditto.
* utils.c (gnu_debuglink_crc32): Ditto.
* varobj.c (variable_language): Ditto.
* linux-tdep.c (linux_get_siginfo_type): Stop memory leak.
2011-03-04 Michael Snyder <msnyder@vmware.com>

View File

@ -911,7 +911,7 @@ execute_stack_op (struct dwarf_expr_context *ctx,
/* Most things push a result value. */
dwarf_expr_push (ctx, result, in_stack_memory);
no_push:;
no_push:
}
/* To simplify our main caller, if the result is an implicit

View File

@ -943,7 +943,7 @@ parse_symbol (SYMR *sh, union aux_ext *ax, char *ext_sh, int bigend,
tsym.st);
}
}
end_of_fields:;
end_of_fields:
/* In an stBlock, there is no way to distinguish structs,
unions, and enums at this point. This is a bug in the

View File

@ -1160,7 +1160,7 @@ parse_exp_in_context (char **stringptr, struct block *block, int comma,
expout->nelts = expout_ptr;
expout = (struct expression *)
xrealloc ((char *) expout,
sizeof (struct expression) + EXP_ELEM_TO_BYTES (expout_ptr));;
sizeof (struct expression) + EXP_ELEM_TO_BYTES (expout_ptr));
/* Convert expression from postfix form as generated by yacc
parser, to a prefix form. */

View File

@ -625,7 +625,7 @@ add_path (char *dirname, char **which_path, int parse_separators)
old = *which_path;
}
}
skip_dup:;
skip_dup:
}
while (arg != NULL);
}

View File

@ -3733,7 +3733,7 @@ gnu_debuglink_crc32 (unsigned long crc, unsigned char *buf, size_t len)
crc = ~crc & 0xffffffff;
for (end = buf + len; buf < end; ++buf)
crc = crc32_table[(crc ^ *buf) & 0xff] ^ (crc >> 8);
return ~crc & 0xffffffff;;
return ~crc & 0xffffffff;
}
ULONGEST

View File

@ -2358,7 +2358,7 @@ variable_language (struct varobj *var)
static int
number_of_children (struct varobj *var)
{
return (*var->root->lang->number_of_children) (var);;
return (*var->root->lang->number_of_children) (var);
}
/* What is the expression for the root varobj VAR? Returns a malloc'd