2011-03-05 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Sat, 5 Mar 2011 22:02:47 +0000 (22:02 +0000)
committerMichael Snyder <msnyder@vmware.com>
Sat, 5 Mar 2011 22:02:47 +0000 (22:02 +0000)
* 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.

gdb/ChangeLog
gdb/dwarf2expr.c
gdb/mdebugread.c
gdb/parse.c
gdb/source.c
gdb/utils.c
gdb/varobj.c

index 8336b7f..f8cfb11 100644 (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>
index afe6dde..450a57f 100644 (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
index 1c65609..d99ad16 100644 (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
index 856c24d..02a7d89 100644 (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.  */
index a14a802..4eda082 100644 (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);
 }
index 91e6af4..e688d19 100644 (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
index 08a1af3..12b0b16 100644 (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