Commit 9099cc4f by Neil Booth Committed by Neil Booth

Make-lang.in (objc-act.o): Depend on debug.h.

	* objc/Make-lang.in (objc-act.o): Depend on debug.h.
	* objc/objc-act.c: Include debug.h.
	(synth_module_prologue): Save and restore debug hooks too.

From-SVN: r44278
parent 68eb4fb9
2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
* objc/Make-lang.in (objc-act.o): Depend on debug.h.
* objc/objc-act.c: Include debug.h.
(synth_module_prologue): Save and restore debug hooks too.
2001-07-23 lars brinkhoff <lars@nocrew.org> 2001-07-23 lars brinkhoff <lars@nocrew.org>
* tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
......
...@@ -80,7 +80,7 @@ objc-act.o : $(srcdir)/objc/objc-act.c \ ...@@ -80,7 +80,7 @@ objc-act.o : $(srcdir)/objc/objc-act.c \
$(CONFIG_H) $(TREE_H) $(RTL_H) $(SYSTEM_H) $(EXPR_H) \ $(CONFIG_H) $(TREE_H) $(RTL_H) $(SYSTEM_H) $(EXPR_H) \
$(srcdir)/c-tree.h $(srcdir)/c-common.h $(srcdir)/c-lex.h \ $(srcdir)/c-tree.h $(srcdir)/c-common.h $(srcdir)/c-lex.h \
$(srcdir)/toplev.h $(srcdir)/flags.h $(srcdir)/objc/objc-act.h \ $(srcdir)/toplev.h $(srcdir)/flags.h $(srcdir)/objc/objc-act.h \
$(srcdir)/input.h $(srcdir)/function.h $(srcdir)/output.h $(srcdir)/input.h $(srcdir)/function.h $(srcdir)/output.h $(srcdir)/debug.h
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -I$(srcdir)/objc \ $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -I$(srcdir)/objc \
-c $(srcdir)/objc/objc-act.c -c $(srcdir)/objc/objc-act.c
......
...@@ -56,6 +56,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -56,6 +56,7 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h" #include "toplev.h"
#include "ggc.h" #include "ggc.h"
#include "cpplib.h" #include "cpplib.h"
#include "debug.h"
/* This is the default way of generating a method name. */ /* This is the default way of generating a method name. */
/* I am not sure it is really correct. /* I am not sure it is really correct.
...@@ -1377,12 +1378,15 @@ synth_module_prologue () ...@@ -1377,12 +1378,15 @@ synth_module_prologue ()
/* Suppress outputting debug symbols, because /* Suppress outputting debug symbols, because
dbxout_init hasn'r been called yet. */ dbxout_init hasn'r been called yet. */
enum debug_info_type save_write_symbols = write_symbols; enum debug_info_type save_write_symbols = write_symbols;
struct gcc_debug_hooks *save_hooks = debug_hooks;
write_symbols = NO_DEBUG; write_symbols = NO_DEBUG;
debug_hooks = &do_nothing_debug_hooks;
build_selector_template (); build_selector_template ();
temp_type = build_array_type (objc_selector_template, NULL_TREE); temp_type = build_array_type (objc_selector_template, NULL_TREE);
write_symbols = save_write_symbols; write_symbols = save_write_symbols;
debug_hooks = save_hooks;
} }
else else
temp_type = build_array_type (selector_type, NULL_TREE); temp_type = build_array_type (selector_type, NULL_TREE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment