diff options
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index 9dc51ee..19d5238 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -1104,6 +1104,8 @@ value_fetch_lazy (struct value *val) } else if (VALUE_LVAL (val) == lval_computed) value_computed_funcs (val)->read (val); + else if (value_optimized_out (val)) + /* Keep it optimized out. */; else internal_error (__FILE__, __LINE__, _("Unexpected lazy value type.")); |