* dwarf2expr.c (execute_stack_op) <DW_OP_GNU_regval_type>: Use
value_from_contents for final conversion.
This commit is contained in:
parent
9a771b671f
commit
d1b66e6d73
@ -1,3 +1,8 @@
|
||||
2011-07-13 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* dwarf2expr.c (execute_stack_op) <DW_OP_GNU_regval_type>: Use
|
||||
value_from_contents for final conversion.
|
||||
|
||||
2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Code cleanup.
|
||||
|
@ -1221,7 +1221,9 @@ execute_stack_op (struct dwarf_expr_context *ctx,
|
||||
|
||||
type = dwarf_get_base_type (ctx, type_die, 0);
|
||||
result = (ctx->read_reg) (ctx->baton, reg);
|
||||
result_val = value_from_ulongest (type, result);
|
||||
result_val = value_from_ulongest (address_type, result);
|
||||
result_val = value_from_contents (type,
|
||||
value_contents_all (result_val));
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user