diff options
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/Make-lang.in | 3 | ||||
-rw-r--r-- | gcc/java/jcf-parse.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in index a7ec8cc..f1c00d7 100644 --- a/gcc/java/Make-lang.in +++ b/gcc/java/Make-lang.in @@ -259,7 +259,8 @@ java/expr.o: java/expr.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h real.h \ $(SYSTEM_H) $(GGC_H) java/jcf-depend.o: java/jcf-depend.c $(CONFIG_H) $(SYSTEM_H) java/jcf.h java/jcf-parse.o: java/jcf-parse.c $(CONFIG_H) $(JAVA_TREE_H) flags.h \ - input.h java/java-except.h $(SYSTEM_H) toplev.h java/parse.h $(GGC_H) + input.h java/java-except.h $(SYSTEM_H) toplev.h java/parse.h $(GGC_H) \ + debug.h java/jcf-write.o: java/jcf-write.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h \ $(RTL_H) java/java-opcodes.h java/parse.h java/buffer.h $(SYSTEM_H) \ toplev.h $(GGC_H) diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c index d925205..c73d1dc 100644 --- a/gcc/java/jcf-parse.c +++ b/gcc/java/jcf-parse.c @@ -35,6 +35,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "toplev.h" #include "parse.h" #include "ggc.h" +#include "debug.h" #ifdef HAVE_LOCALE_H #include <locale.h> @@ -774,7 +775,7 @@ parse_class_file () input_filename = DECL_SOURCE_FILE (TYPE_NAME (current_class)); lineno = 0; - debug_start_source_file (lineno, input_filename); + (*debug_hooks->start_source_file) (lineno, input_filename); init_outgoing_cpool (); /* Currently we always have to emit calls to _Jv_InitClass when @@ -860,7 +861,7 @@ parse_class_file () finish_class (); - debug_end_source_file (save_lineno); + (*debug_hooks->end_source_file) (save_lineno); input_filename = save_input_filename; lineno = save_lineno; } |