1 /* -----------------------------------------------------------------------------
3 * (c) The GHC Team, 1998-2005
5 * Prototypes for functions in Printer.c
7 * ---------------------------------------------------------------------------*/
12 extern void printPtr ( StgPtr p );
13 extern void printObj ( StgClosure *obj );
16 extern void prettyPrintClosure (StgClosure *obj);
17 extern void printClosure ( StgClosure *obj );
18 extern StgStackPtr printStackObj ( StgStackPtr sp );
19 extern void printStackChunk ( StgStackPtr sp, StgStackPtr spLim );
20 extern void printTSO ( StgTSO *tso );
22 void info_hdr_type ( StgClosure *closure, char *res );
23 char * info_type ( StgClosure *closure );
24 char * info_type_by_ip ( StgInfoTable *ip );
26 extern void DEBUG_LoadSymbols( char *name );
28 extern const char *lookupGHCName( void *addr );
31 #endif /* PRINTER_H */