1 /* -----------------------------------------------------------------------------
2 * $Id: Printer.h,v 1.3 1999/02/05 16:02:47 simonm Exp $
4 * (c) The GHC Team, 1998-1999
6 * Prototypes for functions in Printer.c
8 * ---------------------------------------------------------------------------*/
10 extern void printPtr ( StgPtr p );
11 extern void printObj ( StgClosure *obj );
12 extern void printClosure ( StgClosure *obj );
13 extern StgStackPtr printStackObj ( StgStackPtr sp );
14 extern void printStackChunk ( StgStackPtr sp, StgStackPtr spLim );
15 extern void printStack ( StgStackPtr sp, StgStackPtr spLim,
17 extern void printTSO ( StgTSO *tso );
20 extern void DEBUG_LoadSymbols( char *name );
22 extern rtsBool lookupGHCName( StgPtr addr, const char **result );