summaryrefslogtreecommitdiffstats
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 933007ed33..654bf75c35 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -671,6 +671,7 @@ variable: name_not_typename
case LOC_LABEL:
case LOC_BLOCK:
case LOC_CONST_BYTES:
+ case LOC_OPTIMIZED_OUT:
/* In this case the expression can
be evaluated regardless of what
OpenPOWER on IntegriCloud