aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-06 01:32:47 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-06 01:32:47 +0000
commitb27cf2b3df14c7ed3ac68c35f4575b53c51f9f4b (patch)
tree106802fba054740e94cb6f6c3886cd027ec63d5f
parent5387a0c6980825398784ecc6de5e91898e7e0857 (diff)
downloadgdb-b27cf2b3df14c7ed3ac68c35f4575b53c51f9f4b.zip
gdb-b27cf2b3df14c7ed3ac68c35f4575b53c51f9f4b.tar.gz
gdb-b27cf2b3df14c7ed3ac68c35f4575b53c51f9f4b.tar.bz2
2011-03-05 Michael Snyder <msnyder@vmware.com>
* source.c (add_path): Replace semicolon at end of block. * dwarf2expr.c (execute_stack_op): Ditto.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/dwarf2expr.c1
-rw-r--r--gdb/source.c1
3 files changed, 7 insertions, 0 deletions
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 <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.
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);
}