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, 1 insertions, 1 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index a16c580..b243e5c 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -608,7 +608,7 @@ variable: name_not_typename
if (sym)
{
- switch (sym->class)
+ switch (SYMBOL_CLASS (sym))
{
case LOC_REGISTER:
case LOC_ARG: