50 lines
1.1 KiB
C
50 lines
1.1 KiB
C
/****************************************************************
|
|
* *
|
|
* Copyright 2001, 2011 Fidelity Information Services, Inc *
|
|
* *
|
|
* This source code contains the intellectual property *
|
|
* of its copyright holder(s), and is made available *
|
|
* under a license. If you do not know the terms of *
|
|
* the license, please stop and do not read further. *
|
|
* *
|
|
****************************************************************/
|
|
|
|
#include "mdef.h"
|
|
#include "gtm_unistd.h"
|
|
|
|
#include "error.h"
|
|
#include "io.h"
|
|
#include "util.h"
|
|
|
|
GBLREF int4 exi_condition;
|
|
GBLREF boolean_t created_core;
|
|
GBLREF boolean_t dont_want_core;
|
|
|
|
error_def(ERR_ASSERT);
|
|
error_def(ERR_FORCEDHALT);
|
|
error_def(ERR_GTMASSERT);
|
|
error_def(ERR_GTMASSERT2);
|
|
error_def(ERR_GTMCHECK);
|
|
error_def(ERR_IORUNDOWN);
|
|
error_def(ERR_MEMORY);
|
|
error_def(ERR_OUTOFSPACE);
|
|
error_def(ERR_STACKOFLOW);
|
|
error_def(ERR_VMSMEMORY);
|
|
|
|
CONDITION_HANDLER(lastchance3)
|
|
{
|
|
|
|
START_CH;
|
|
ESTABLISH(terminate_ch);
|
|
if (DUMPABLE)
|
|
{
|
|
PRN_ERROR;
|
|
dec_err(VARLSTCNT(1) ERR_IORUNDOWN);
|
|
if (!SUPPRESS_DUMP)
|
|
DUMP_CORE;
|
|
PROCDIE(exi_condition);
|
|
}
|
|
REVERT;
|
|
UNWIND(NULL, NULL);
|
|
}
|