remove msymbol_objfile
[deliverable/binutils-gdb.git] / gdb / f-exp.y
index 846cc02b3b187464bd2aa102dc2d3aea7fdd6325..296a7fe1c7334d7811843ed866d7ff9618521f59 100644 (file)
@@ -513,12 +513,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 ())
                                error (_("No symbol table is loaded.  Use the \"file\" command."));
This page took 0.026243 seconds and 4 git commands to generate.