From: Michael Snyder Date: Sat, 5 Mar 2011 22:02:47 +0000 (+0000) Subject: 2011-03-05 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82ae4854632a42a7d7d74b6cdb8da9be7890976c;p=binutils-gdb.git 2011-03-05 Michael Snyder * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8336b7f67f2..f8cfb11ef9a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2011-03-05 Michael Snyder + * 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 diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c index afe6dded71d..450a57f3a85 100644 --- a/gdb/dwarf2expr.c +++ b/gdb/dwarf2expr.c @@ -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 diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 1c65609f5d2..d99ad16eb51 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -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 diff --git a/gdb/parse.c b/gdb/parse.c index 856c24dba51..02a7d894f72 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -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. */ diff --git a/gdb/source.c b/gdb/source.c index a14a8028903..4eda082f15d 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -625,7 +625,7 @@ add_path (char *dirname, char **which_path, int parse_separators) old = *which_path; } } - skip_dup:; + skip_dup: } while (arg != NULL); } diff --git a/gdb/utils.c b/gdb/utils.c index 91e6af4a6e9..e688d19b558 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -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 diff --git a/gdb/varobj.c b/gdb/varobj.c index 08a1af3f406..12b0b160125 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -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