From 5ca828706734c6b1a029a6bb4c84a3c5ecb61915 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20W=C3=BCrdig?= Date: Fri, 17 Nov 2006 12:51:24 +0000 Subject: [PATCH] added firm_ycomp debugger extension [r8389] --- ir/common/Makefile.in | 2 +- ir/common/firm.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ir/common/Makefile.in b/ir/common/Makefile.in index 29642effb..885dcf3c5 100644 --- a/ir/common/Makefile.in +++ b/ir/common/Makefile.in @@ -31,7 +31,7 @@ CPPFLAGS += -I$(top_srcdir)/ir/common -I$(top_srcdir)/ir/ident -I$(top_srcdir)/i -I$(top_srcdir)/ir/ana -I$(top_srcdir)/ir/st -I$(top_srcdir)/ir/debug \ -I$(top_srcdir)/ir/opt -I$(top_srcdir)/ir/arch -I$(top_srcdir)/ir/stat \ -I$(top_srcdir)/ir/external -I$(top_srcdir)/ir/lower -I$(top_srcdir)/ir/arch \ - -I$(topdir)/ir/config + -I$(topdir)/ir/config -I$(top_srcdir)/ir/net include $(top_srcdir)/MakeTargets diff --git a/ir/common/firm.c b/ir/common/firm.c index 34417e236..57bc73663 100644 --- a/ir/common/firm.c +++ b/ir/common/firm.c @@ -46,6 +46,7 @@ #include "irhooks.h" #include "iredges_t.h" #include "debugger.h" +#include "firm_ycomp.h" #ifdef WITH_LIBCORE /* returns the firm root */ @@ -132,6 +133,7 @@ init_firm(const firm_parameter_t *param) #ifndef NDEBUG /* integrated debugger extension */ firm_init_debugger(); + firm_init_ycomp_debugger(NULL, 0); #endif } @@ -155,6 +157,9 @@ void free_firm(void) { finish_mode(); finish_tpop(); finish_ident(); +#ifndef NDEBUG + firm_finish_ycomp_debugger(); +#endif } /* Returns the libFirm version number. */ -- 2.20.1