gdb/
[deliverable/binutils-gdb.git] / gdb / dwarf2loc.c
index 4ec2549ccae9016bd11404a3795652d85aded083..d9580c658889aa11143f60558565d8ee5df9e612 100644 (file)
@@ -1123,9 +1123,8 @@ dwarf2_evaluate_loc_desc_full (struct type *type, struct frame_info *frame,
            CORE_ADDR address = dwarf_expr_fetch_address (ctx, 0);
            int in_stack_memory = dwarf_expr_fetch_in_stack_memory (ctx, 0);
 
-           retval = allocate_value (type);
+           retval = allocate_value_lazy (type);
            VALUE_LVAL (retval) = lval_memory;
-           set_value_lazy (retval, 1);
            if (in_stack_memory)
              set_value_stack (retval, 1);
            set_value_address (retval, address + byte_offset);
@@ -2237,9 +2236,9 @@ locexpr_describe_location_piece (struct symbol *symbol, struct ui_file *stream,
      as the size of an address on the target machine (here is 8
      bytes).  Note that more recent version of GCC emit DW_OP_const4u
      or DW_OP_const8u, depending on address size, rather than
-     DW_OP_addr.  0xe0 is the encoding for
-     DW_OP_GNU_push_tls_address. The operand represents the offset at
-     which the variable is within the thread local storage.  */
+     DW_OP_addr.  0xe0 is the encoding for DW_OP_GNU_push_tls_address.
+     The operand represents the offset at which the variable is within
+     the thread local storage.  */
 
   else if (data + 1 + addr_size < end
           && (data[0] == DW_OP_addr
This page took 0.023333 seconds and 4 git commands to generate.