diff options
| author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-06-22 10:51:04 (GMT) |
|---|---|---|
| committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-06-22 10:51:04 (GMT) |
| commit | e1fda1fb4ff4e7112f2dac43d1460a3c69a6e036 (patch) | |
| tree | 5c72174728826ad431deabc97f7e66399f8d3fe3 /win/tclWinError.c | |
| parent | a56a79105488bc24fcbbb1bb41e9143e9cdcda2d (diff) | |
| download | tcl-e1fda1fb4ff4e7112f2dac43d1460a3c69a6e036.zip tcl-e1fda1fb4ff4e7112f2dac43d1460a3c69a6e036.tar.gz tcl-e1fda1fb4ff4e7112f2dac43d1460a3c69a6e036.tar.bz2 | |
Restored the possibility to define a panicproc as
low memory handler See: [#1446864]
Diffstat (limited to 'win/tclWinError.c')
| -rw-r--r-- | win/tclWinError.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win/tclWinError.c b/win/tclWinError.c index 63e9598..49eeed3 100644 --- a/win/tclWinError.c +++ b/win/tclWinError.c @@ -410,6 +410,12 @@ tclWinDebugPanic( fprintf(stderr, "\n"); fflush(stderr); } +# if defined(__GNUC__) + __builtin_trap(); +# else + DebugBreak(); +# endif + abort(); } #endif /* |
