X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbedbgout.c;h=d201da8b514b65c07b859e959de259e3420c85f0;hb=5474a1c188c9d59eea2c915515980cd9cbab58d8;hp=d1e2b4a2e62b86c3388d2133ee397f12f53ac239;hpb=ce6161a7e42a48f7422b7babcc64d8ace18e2687;p=libfirm diff --git a/ir/be/bedbgout.c b/ir/be/bedbgout.c index d1e2b4a2e..d201da8b5 100644 --- a/ir/be/bedbgout.c +++ b/ir/be/bedbgout.c @@ -22,7 +22,6 @@ * @brief Stabs support. * @author Michael Beck * @date 11.9.2006 - * @version $Id: bestabs.c 17143 2008-01-02 20:56:33Z beck $ */ #include "config.h" @@ -38,16 +37,16 @@ void be_dbg_close(void) handle->ops->close(handle); } -void be_dbg_so(const char *filename) +void be_dbg_unit_begin(const char *filename) { - if (handle->ops->so) - handle->ops->so(handle, filename); + if (handle->ops->unit_begin) + handle->ops->unit_begin(handle, filename); } -void be_dbg_main_program(void) +void be_dbg_unit_end(void) { - if (handle->ops->main_program) - handle->ops->main_program(handle); + if (handle->ops->unit_end) + handle->ops->unit_end(handle); } void be_dbg_method_begin(const ir_entity *ent) @@ -105,7 +104,7 @@ static dbg_handle *create_null_dbgout_module(void) return &null_handle; } -BE_REGISTER_MODULE_CONSTRUCTOR(be_init_dbgout); +BE_REGISTER_MODULE_CONSTRUCTOR(be_init_dbgout) void be_init_dbgout(void) { lc_opt_entry_t *be_grp = lc_opt_get_grp(firm_opt_get_root(), "be");