+2011-06-22 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_convert>: Treat type
+ argument of 0 specially.
+
2011-06-22 Yao Qi <yao@codesourcery.com>
* infrun.c (handle_inferior_event): Remove write-only local variable
op_ptr = read_uleb128 (op_ptr, op_end, &type_die);
- type = dwarf_get_base_type (ctx, type_die, 0);
+ if (type_die == 0)
+ type = address_type;
+ else
+ type = dwarf_get_base_type (ctx, type_die, 0);
result_val = dwarf_expr_fetch (ctx, 0);
dwarf_expr_pop (ctx);