pike.git / src / error.c

version» Context lines:

pike.git/src/error.c:15:   #include "array.h"   #include "object.h"   #include "main.h"   #include "builtin_functions.h"   #include "backend.h"   #include "operators.h"   #include "module_support.h"   #include "threads.h"   #include "gc.h"    - RCSID("$Id: error.c,v 1.87 2002/08/15 17:43:25 marcus Exp $"); + RCSID("$Id: error.c,v 1.88 2002/09/21 16:29:43 mast Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)      PMOD_EXPORT const char msg_fatal_error[] =    "%s:%d: Fatal error:\n";   #ifdef PIKE_DEBUG   PMOD_EXPORT const char msg_unsetjmp_nosync_1[] =    "UNSETJMP out of sync! (last SETJMP at %s)!\n";   PMOD_EXPORT const char msg_unsetjmp_nosync_2[] =
pike.git/src/error.c:76:    DO_NOT_WARN((long)TESTILITEST));    fprintf(stderr, "Last recovery was added at %s\n",    Pike_interpreter.recoveries->file);    Pike_fatal("Recoveries is out biking (Pike_interpreter.recoveries=%p, Pike_sp=%p, %ld)!\n",    Pike_interpreter.recoveries, &foo,    DO_NOT_WARN((long)TESTILITEST));    }       /* Add more stuff here when required */   } + #endif      PMOD_EXPORT void pike_gdb_breakpoint(void)   {   } - #endif +       PMOD_EXPORT JMP_BUF *init_recovery(JMP_BUF *r DEBUG_LINE_ARGS)   {    check_recovery_context();   #ifdef PIKE_DEBUG    r->file=location;    OED_FPRINTF((stderr, "init_recovery(%p) %s\n", r, location));   #endif    r->frame_pointer=Pike_fp;    r->stack_pointer=Pike_sp-Pike_interpreter.evaluator_stack;
pike.git/src/error.c:356:       va_start(args,fmt);    /* Prevent double fatal. */    if (in_fatal)    {    (void)VFPRINTF(stderr, fmt, args);    do_abort();    }       in_fatal = 1; + #if 0   #ifdef PIKE_DEBUG    dump_backlog();   #endif -  + #endif       if(Pike_in_gc)    fprintf(stderr,"Pike was in GC stage %d when this fatal occured:\n",Pike_in_gc);    Pike_in_gc = GC_PASS_DISABLED;       (void)VFPRINTF(stderr, fmt, args);       d_flag=t_flag=0;    if(Pike_sp && Pike_interpreter.evaluator_stack &&    master_object && master_object->prog)