gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 12 Jul 2011 21:16:48 +0000 (21:16 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 12 Jul 2011 21:16:48 +0000 (21:16 +0000)
commita7035dbbd10c5208e63cc3bc1b45f2dd8d16d7bb
tree9c200988328bc0af2cc5f23bb334b2414a80ae4d
parentd07ed419cf333c92f5b7376c2f97a899b7359161
gdb/
Code cleanup making also optimized out values lazy.
* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use
allocate_optimized_out_value.  Twice.
(loclist_read_variable)  Use allocate_optimized_out_value.  Once.
* findvar.c (read_var_value): Likewise.
* value.c (allocate_optimized_out_value): New function.
* value.h (allocate_optimized_out_value): New declaration.
gdb/ChangeLog
gdb/dwarf2loc.c
gdb/findvar.c
gdb/value.c
gdb/value.h