aboutsummaryrefslogtreecommitdiff
path: root/gdb/go-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/go-exp.y')
-rw-r--r--gdb/go-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/go-exp.y b/gdb/go-exp.y
index fed7fe5..4569204 100644
--- a/gdb/go-exp.y
+++ b/gdb/go-exp.y
@@ -1339,7 +1339,7 @@ package_name_p (const char *name, const struct block *block)
if (sym
&& sym->aclass () == LOC_TYPEDEF
- && SYMBOL_TYPE (sym)->code () == TYPE_CODE_MODULE)
+ && sym->type ()->code () == TYPE_CODE_MODULE)
return 1;
return 0;