diff options
Diffstat (limited to 'gdb/go-exp.y')
-rw-r--r-- | gdb/go-exp.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/go-exp.y b/gdb/go-exp.y index 66d9149d944..2ccb394dce9 100644 --- a/gdb/go-exp.y +++ b/gdb/go-exp.y @@ -616,12 +616,12 @@ variable: name_not_typename } else { - struct minimal_symbol *msymbol; + struct bound_minimal_symbol msymbol; char *arg = copy_name ($1.stoken); msymbol = - lookup_minimal_symbol (arg, NULL, NULL); - if (msymbol != NULL) + lookup_bound_minimal_symbol (arg); + if (msymbol.minsym != NULL) write_exp_msymbol (msymbol); else if (!have_full_symbols () && !have_partial_symbols ()) |