Commit 5ca82870 authored by Christian Würdig's avatar Christian Würdig
Browse files

added firm_ycomp debugger extension

[r8389]
parent cc30e147
......@@ -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
......
......@@ -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. */
......
Supports Markdown
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