diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-22 10:51:04 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-22 10:51:04 (GMT) |
commit | 90e7d603fcf06a4c1c35ebde8e4ddf74134d5844 (patch) | |
tree | 5c72174728826ad431deabc97f7e66399f8d3fe3 /win/tclWinError.c | |
parent | 607975b5dcc8af44e0fe65ab9ca787ed659e79bd (diff) | |
download | tcl-90e7d603fcf06a4c1c35ebde8e4ddf74134d5844.zip tcl-90e7d603fcf06a4c1c35ebde8e4ddf74134d5844.tar.gz tcl-90e7d603fcf06a4c1c35ebde8e4ddf74134d5844.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 /* |