-typedef struct debug_ops {
- /** close the stabs handler. */
- void (*close)(dbg_handle *handle);
-
- /** start a new source object (compilation unit) */
- void (*so)(dbg_handle *handle, const char *filename);
-
- /** Main Program */
- void (*main_program)(dbg_handle *handle);
-
- /** dumps the stabs for a function */
- void (*method)(dbg_handle *handle, entity *ent);
-
- /** dumps a line number */
- void (*line)(dbg_handle *handle, unsigned lineno, const char *address);
-
- /** dump types */
- void (*types)(dbg_handle *handle);
-
- /** dump a global */
- void (*global)(dbg_handle *h, struct obstack *obst, entity *ent);