1 /* -----------------------------------------------------------------------------
3 * (c) The GHC Team, 1998-2000
5 * Prototypes for functions in Printer.c
7 * ---------------------------------------------------------------------------*/
9 extern void printPtr ( StgPtr p );
10 extern void printObj ( StgClosure *obj );
13 extern void printClosure ( StgClosure *obj );
14 extern StgStackPtr printStackObj ( StgStackPtr sp );
15 extern void printStackChunk ( StgStackPtr sp, StgStackPtr spLim );
16 extern void printTSO ( StgTSO *tso );
18 void info_hdr_type ( StgClosure *closure, char *res );
19 char * info_type ( StgClosure *closure );
20 char * info_type_by_ip ( StgInfoTable *ip );
22 extern void DEBUG_LoadSymbols( char *name );
24 extern const char *lookupGHCName( void *addr );