aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 42e482b..0b19ed5 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -667,6 +667,8 @@ variable: name_not_typename
case LOC_REGPARM:
case LOC_LOCAL:
case LOC_LOCAL_ARG:
+ case LOC_BASEREG:
+ case LOC_BASEREG_ARG:
if (innermost_block == 0 ||
contained_in (block_found,
innermost_block))