remove msymbol_objfile
[deliverable/binutils-gdb.git] / gdb / go-exp.y
index 66d9149d9444e0ae34c33dc326d5706a667cf744..2ccb394dce91756919c9108a1fd5fb0e7d86a06e 100644 (file)
@@ -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 ())
This page took 0.026039 seconds and 4 git commands to generate.