1 /* -----------------------------------------------------------------------------
2 * $Id: Printer.h,v 1.7 2002/12/11 15:36:45 simonmar Exp $
4 * (c) The GHC Team, 1998-2000
6 * Prototypes for functions in Printer.c
8 * ---------------------------------------------------------------------------*/
10 extern void printPtr ( StgPtr p );
11 extern void printObj ( StgClosure *obj );
14 extern void printClosure ( StgClosure *obj );
15 extern StgStackPtr printStackObj ( StgStackPtr sp );
16 extern void printStackChunk ( StgStackPtr sp, StgStackPtr spLim );
17 extern void printTSO ( StgTSO *tso );
19 void info_hdr_type ( StgClosure *closure, char *res );
20 char * info_type ( StgClosure *closure );
21 char * info_type_by_ip ( StgInfoTable *ip );
23 extern void DEBUG_LoadSymbols( char *name );
25 extern const char *lookupGHCName( void *addr );