Move current_subfile to buildsym_compunit
[deliverable/binutils-gdb.git] / gdb / buildsym.h
index 32a2e1b7b7b2aa913401a7e83752ff8a341b043c..9a4856d234d604f142aac1814feeb7c461213928 100644 (file)
@@ -64,8 +64,6 @@ struct subfile
   struct symtab *symtab;
 };
 
-EXTERN struct subfile *current_subfile;
-
 /* Record the symbols defined for each context in a list.  We don't
    create a struct block for the context until we know how long to
    make it.  */
@@ -274,6 +272,10 @@ extern struct context_stack *get_current_context_stack ();
 
 extern int get_context_stack_depth ();
 
+/* Return the current subfile.  */
+
+extern struct subfile *get_current_subfile ();
+
 #undef EXTERN
 
 #endif /* defined (BUILDSYM_H) */
This page took 0.028884 seconds and 4 git commands to generate.