Commit 135d50f1 by Richard Kenner Committed by Richard Kenner

Makefile.in (integrate.o): Add debug.h.

	* Makefile.in (integrate.o): Add debug.h.
	* integrate.c (debug.h): Add.
	(output_inline_function): Save, reset, and restore debug_hooks.

From-SVN: r44026
parent b762a0ef
Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* Makefile.in (integrate.o): Add debug.h.
* integrate.c (debug.h): Add.
(output_inline_function): Save, reset, and restore debug_hooks.
2001-07-15 Richard Henderson <rth@redhat.com> 2001-07-15 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
......
...@@ -1417,7 +1417,7 @@ emit-rtl.o : emit-rtl.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) flags.h \ ...@@ -1417,7 +1417,7 @@ emit-rtl.o : emit-rtl.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) flags.h \
$(HASHTAB_H) $(TM_P_H) $(HASHTAB_H) $(TM_P_H)
real.o : real.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) toplev.h $(TM_P_H) real.o : real.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) toplev.h $(TM_P_H)
integrate.o : integrate.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) flags.h \ integrate.o : integrate.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) flags.h \
$(INTEGRATE_H) insn-config.h $(EXPR_H) real.h $(REGS_H) \ debug.h $(INTEGRATE_H) insn-config.h $(EXPR_H) real.h $(REGS_H) \
intl.h function.h output.h $(RECOG_H) except.h toplev.h $(LOOP_H) \ intl.h function.h output.h $(RECOG_H) except.h toplev.h $(LOOP_H) \
$(PARAMS_H) $(TM_P_H) $(PARAMS_H) $(TM_P_H)
jump.o : jump.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h hard-reg-set.h $(REGS_H) \ jump.o : jump.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h hard-reg-set.h $(REGS_H) \
......
...@@ -28,6 +28,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,6 +28,7 @@ Boston, MA 02111-1307, USA. */
#include "tm_p.h" #include "tm_p.h"
#include "regs.h" #include "regs.h"
#include "flags.h" #include "flags.h"
#include "debug.h"
#include "insn-config.h" #include "insn-config.h"
#include "expr.h" #include "expr.h"
#include "output.h" #include "output.h"
...@@ -2866,6 +2867,7 @@ output_inline_function (fndecl) ...@@ -2866,6 +2867,7 @@ output_inline_function (fndecl)
{ {
struct function *old_cfun = cfun; struct function *old_cfun = cfun;
enum debug_info_type old_write_symbols = write_symbols; enum debug_info_type old_write_symbols = write_symbols;
struct debug_hooks *old_debug_hooks = debug_hooks;
struct function *f = DECL_SAVED_INSNS (fndecl); struct function *f = DECL_SAVED_INSNS (fndecl);
cfun = f; cfun = f;
...@@ -2879,7 +2881,10 @@ output_inline_function (fndecl) ...@@ -2879,7 +2881,10 @@ output_inline_function (fndecl)
/* If requested, suppress debugging information. */ /* If requested, suppress debugging information. */
if (f->no_debugging_symbols) if (f->no_debugging_symbols)
write_symbols = NO_DEBUG; {
write_symbols = NO_DEBUG;
debug_hooks = &do_nothing_debug_hooks;
}
/* Do any preparation, such as emitting abstract debug info for the inline /* Do any preparation, such as emitting abstract debug info for the inline
before it gets mangled by optimization. */ before it gets mangled by optimization. */
...@@ -2895,6 +2900,7 @@ output_inline_function (fndecl) ...@@ -2895,6 +2900,7 @@ output_inline_function (fndecl)
cfun = old_cfun; cfun = old_cfun;
current_function_decl = old_cfun ? old_cfun->decl : 0; current_function_decl = old_cfun ? old_cfun->decl : 0;
write_symbols = old_write_symbols; write_symbols = old_write_symbols;
debug_hooks = old_debug_hooks;
} }
......
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