Replace the block_found global with explicit data-flow
[deliverable/binutils-gdb.git] / gdb / compile / compile-object-load.c
index 162227ab01772fc6e832b9f09a15cd32c97dc60b..16775ab5a5136feb518a4dccb043e4c026cf2a0b 100644 (file)
@@ -676,7 +676,7 @@ compile_object_load (const char *object_file, const char *source_file,
 
   func_sym = lookup_global_symbol_from_objfile (objfile,
                                                GCC_FE_WRAPPER_FUNCTION,
-                                               VAR_DOMAIN);
+                                               VAR_DOMAIN).symbol;
   if (func_sym == NULL)
     error (_("Cannot find function \"%s\" in compiled module \"%s\"."),
           GCC_FE_WRAPPER_FUNCTION, objfile_name (objfile));
This page took 0.053291 seconds and 4 git commands to generate.