Browse Source

2007-01-24 Jim Blandy <jimb@codesourcery.com>

* dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
	expression is empty, bother to return the 'optimized out' value we
	construct.  (Thanks to Carl Burch.)
drow-reverse-20070409-branch
Jim Blandy 20 years ago
parent
commit
10fb19b6ab
  1. 6
      gdb/ChangeLog
  2. 1
      gdb/dwarf2loc.c

6
gdb/ChangeLog

@ -1,3 +1,9 @@
2007-01-24 Jim Blandy <jimb@codesourcery.com>
* dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
expression is empty, bother to return the 'optimized out' value we
construct. (Thanks to Carl Burch.)
2007-01-24 Vladimir Prus <vladimir@codesourcery.com> 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
* varobj.c (c_value_of_root, c_value_of_child) * varobj.c (c_value_of_root, c_value_of_child)

1
gdb/dwarf2loc.c

@ -201,6 +201,7 @@ dwarf2_evaluate_loc_desc (struct symbol *var, struct frame_info *frame,
retval = allocate_value (SYMBOL_TYPE (var)); retval = allocate_value (SYMBOL_TYPE (var));
VALUE_LVAL (retval) = not_lval; VALUE_LVAL (retval) = not_lval;
set_value_optimized_out (retval, 1); set_value_optimized_out (retval, 1);
return retval;
} }
baton.frame = frame; baton.frame = frame;

Loading…
Cancel
Save