diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2010-06-26 14:05:26 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2010-06-26 14:05:26 +0000 |
commit | f8d8947c2e69f2eb0b22c16d7cb9bcc370c9243e (patch) | |
tree | 6599e81d89f2b1ca89938c945acb3167cf67272a /gdb/dwarf2expr.c | |
parent | 21877d889fab20d373169bd4aa79001e28e793a0 (diff) | |
download | gdb-f8d8947c2e69f2eb0b22c16d7cb9bcc370c9243e.tar.gz |
* dwarf2expr.c (execute_stack_op): Place preprocessor
directives at the start of the source line.
Diffstat (limited to 'gdb/dwarf2expr.c')
-rw-r--r-- | gdb/dwarf2expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c index c11c4105fca..af9fc0fc587 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 } |