compile: Distribute scope, add scope_data
[deliverable/binutils-gdb.git] / gdb / compile / compile-object-load.c
index 745d787c1ff670ba041d1e246ab0d8befd6cd909..fd440be79091cb937df8096c378f6fb98021f550 100644 (file)
@@ -464,7 +464,8 @@ store_regs (struct type *regs_type, CORE_ADDR regs_base)
    function returns.  */
 
 struct compile_module *
-compile_object_load (const char *object_file, const char *source_file)
+compile_object_load (const char *object_file, const char *source_file,
+                    enum compile_i_scope_types scope, void *scope_data)
 {
   struct cleanup *cleanups, *cleanups_free_objfile;
   bfd *abfd;
@@ -597,5 +598,7 @@ compile_object_load (const char *object_file, const char *source_file)
   retval->source_file = xstrdup (source_file);
   retval->func_addr = func_addr;
   retval->regs_addr = regs_addr;
+  retval->scope = scope;
+  retval->scope_data = scope_data;
   return retval;
 }
This page took 0.031403 seconds and 4 git commands to generate.