diff options
Diffstat (limited to 'gdb/go-exp.y')
-rw-r--r-- | gdb/go-exp.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/go-exp.y b/gdb/go-exp.y index 8fd6737..a617242 100644 --- a/gdb/go-exp.y +++ b/gdb/go-exp.y @@ -1,6 +1,6 @@ /* YACC parser for Go expressions, for GDB. - Copyright (C) 2012-2024 Free Software Foundation, Inc. + Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -1290,7 +1290,7 @@ package_name_p (const char *name, const struct block *block) &is_a_field_of_this).symbol; if (sym - && sym->aclass () == LOC_TYPEDEF + && sym->loc_class () == LOC_TYPEDEF && sym->type ()->code () == TYPE_CODE_MODULE) return 1; |