From b27cf2b3df14c7ed3ac68c35f4575b53c51f9f4b Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Sun, 6 Mar 2011 01:32:47 +0000 Subject: [PATCH] 2011-03-05 Michael Snyder * source.c (add_path): Replace semicolon at end of block. * dwarf2expr.c (execute_stack_op): Ditto. --- gdb/ChangeLog | 5 +++++ gdb/dwarf2expr.c | 1 + gdb/source.c | 1 + 3 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0d1cbb7..4887026 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-03-05 Michael Snyder + + * source.c (add_path): Replace semicolon at end of block. + * dwarf2expr.c (execute_stack_op): Ditto. + 2011-03-05 Mike Frysinger * bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h. diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c index 450a57f..8d1810e 100644 --- a/gdb/dwarf2expr.c +++ b/gdb/dwarf2expr.c @@ -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 diff --git a/gdb/source.c b/gdb/source.c index 4eda082..391c9c2 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -626,6 +626,7 @@ add_path (char *dirname, char **which_path, int parse_separators) } } skip_dup: + ; } while (arg != NULL); } -- 2.7.4