2011-03-05 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Sun, 6 Mar 2011 01:32:47 +0000 (01:32 +0000)
committerMichael Snyder <msnyder@vmware.com>
Sun, 6 Mar 2011 01:32:47 +0000 (01:32 +0000)
* source.c (add_path): Replace semicolon at end of block.
* dwarf2expr.c (execute_stack_op): Ditto.

gdb/ChangeLog
gdb/dwarf2expr.c
gdb/source.c

index 0d1cbb7..4887026 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-05  Michael Snyder  <msnyder@vmware.com>
+
+       * source.c (add_path): Replace semicolon at end of block.
+       * dwarf2expr.c (execute_stack_op): Ditto.
+
 2011-03-05  Mike Frysinger  <vapier@gentoo.org>
 
        * bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h.
index 450a57f..8d1810e 100644 (file)
@@ -912,6 +912,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:
+      ;
     }
 
   /* To simplify our main caller, if the result is an implicit
index 4eda082..391c9c2 100644 (file)
@@ -626,6 +626,7 @@ add_path (char *dirname, char **which_path, int parse_separators)
          }
       }
     skip_dup:
+      ;
     }
   while (arg != NULL);
 }