home *** CD-ROM | disk | FTP | other *** search
- /*** backtrace.c ***/
- /* Generate a stack backtrace
- * (c) Paul Field 1995
- * Based closely on code by Tom Hughes
- */
-
- #include <assert.h>
- #include <stdio.h>
-
- #include "Desk.BackTrace.h"
-
- #include "Defs.h"
-
-
-
- void Desk_BackTrace_OutputToStdErr( void)
- {
- Desk_BackTrace_OutputToStreamWithPrefix( stderr, "");
- }
-
-
-
-
- void Desk_BackTrace_OutputToStreamWithPrefix( FILE* stream, const char* prefix)
- {
- Desk_BackTrace_OutputToFFunctionWithPrefix( (Desk_backtrace_printf_fn) fprintf, stream, prefix);
- }
-