X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbe_dbgout.h;h=c750c68c5539b8daeefad8c875caf1289ae9ec40;hb=80a6158fdd766f42ee6c508a773bc114ff1b61f3;hp=842dca13e6d2f4b8b2cfddec0573747d210baf82;hpb=b8e82634cac9aede31249e3315edffd6689eb7e2;p=libfirm diff --git a/ir/be/be_dbgout.h b/ir/be/be_dbgout.h index 842dca13e..c750c68c5 100644 --- a/ir/be/be_dbgout.h +++ b/ir/be/be_dbgout.h @@ -22,11 +22,17 @@ typedef struct debug_ops { /** start a new source object (compilation unit) */ void (*so)(dbg_handle *handle, const char *filename); + /** start an include file */ + void (*include_begin)(dbg_handle *handle, const char *filename); + + /** end an include file */ + void (*include_end)(dbg_handle *handle); + /** Main Program */ void (*main_program)(dbg_handle *handle); /** dumps the stabs for a method begin */ - void (*method_begin)(dbg_handle *handle, entity *ent, const be_stack_layout_t *layout); + void (*method_begin)(dbg_handle *handle, ir_entity *ent, const be_stack_layout_t *layout); /** dumps the stabs for a method end */ void (*method_end)(dbg_handle *handle); @@ -37,8 +43,8 @@ typedef struct debug_ops { /** dump types */ void (*types)(dbg_handle *handle); - /** dump a global */ - void (*global)(dbg_handle *h, struct obstack *obst, entity *ent); + /** dump a variable in the global type */ + void (*variable)(dbg_handle *h, struct obstack *obst, ir_entity *ent); } debug_ops; @@ -53,11 +59,17 @@ void be_dbg_close(dbg_handle *handle); /** start a new source object (compilation unit) */ void be_dbg_so(dbg_handle *handle, const char *filename); +/** start an include file */ +void be_dbg_include_begin(dbg_handle *handle, const char *filename); + +/** end an include file */ +void be_dbg_include_end(dbg_handle *handle); + /** Main program */ void be_dbg_main_program(dbg_handle *handle); /** debug for a method begin */ -void be_dbg_method_begin(dbg_handle *handle, entity *ent, const be_stack_layout_t *layout); +void be_dbg_method_begin(dbg_handle *handle, ir_entity *ent, const be_stack_layout_t *layout); /** debug for a method end */ void be_dbg_method_end(dbg_handle *handle); @@ -68,8 +80,8 @@ void be_dbg_line(dbg_handle *handle, unsigned lineno, const char *address); /** dump types */ void be_dbg_types(dbg_handle *handle); -/** dump a global */ -void be_dbg_global(dbg_handle *handle, struct obstack *obst, entity *ent); +/** dump a variable in the global type */ +void be_dbg_variable(dbg_handle *handle, struct obstack *obst, ir_entity *ent); /** Opens the NULL handler: no debug support. */ dbg_handle *be_nulldbg_open(void);