From 43dabe425d3b45ba15ba88aeadda3bc8064293c8 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Sat, 26 Jun 2010 14:05:29 +0000 Subject: * dwarf2expr.c (execute_stack_op): Place preprocessor directives at the start of the source line. --- gdb/dwarf2expr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/dwarf2expr.c') diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c index c11c410..af9fc0f 100644 --- a/gdb/dwarf2expr.c +++ b/gdb/dwarf2expr.c @@ -335,7 +335,7 @@ static void execute_stack_op (struct dwarf_expr_context *ctx, const gdb_byte *op_ptr, const gdb_byte *op_end) { - #define sign_ext(x) ((LONGEST) (((x) ^ sign_bit) - sign_bit)) +#define sign_ext(x) ((LONGEST) (((x) ^ sign_bit) - sign_bit)) ULONGEST sign_bit = (ctx->addr_size >= sizeof (ULONGEST) ? 0 : ((ULONGEST) 1) << (ctx->addr_size * 8 - 1)); enum bfd_endian byte_order = gdbarch_byte_order (ctx->gdbarch); @@ -880,5 +880,5 @@ execute_stack_op (struct dwarf_expr_context *ctx, ctx->recursion_depth--; gdb_assert (ctx->recursion_depth >= 0); - #undef sign_ext +#undef sign_ext } -- cgit v1.1