diff options
Diffstat (limited to 'gdb/go-exp.y')
-rw-r--r-- | gdb/go-exp.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/go-exp.y b/gdb/go-exp.y index 359af226056..5436072d66e 100644 --- a/gdb/go-exp.y +++ b/gdb/go-exp.y @@ -1338,7 +1338,7 @@ package_name_p (const char *name, const struct block *block) sym = lookup_symbol (name, block, STRUCT_DOMAIN, &is_a_field_of_this).symbol; if (sym - && SYMBOL_CLASS (sym) == LOC_TYPEDEF + && sym->aclass () == LOC_TYPEDEF && SYMBOL_TYPE (sym)->code () == TYPE_CODE_MODULE) return 1; |