Changes between Initial Version and Version 1 of Ticket #2090, comment 2
- Timestamp:
- 2013-02-27T17:46:08Z (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2090, comment 2
initial v1 9 9 case (1,2,3) then ...; 10 10 case (_,_,_) then ...; 11 case STACKOVERFLOW( messages) /* Requires language extension, but looks nice */11 case STACKOVERFLOW(positions) /* Requires language extension, but looks nice */ 12 12 equation 13 13 symbols = System.backtrace_symbols(positions); 14 14 Error.addMessage(Error.STACK_OVERFLOW, {stringDelimitList(symbols,"\n")}); 15 15 then fail(); 16 case SIGSEGV( messages) /* We could possibly catch more interrupt signals, too */16 case SIGSEGV(positions) /* We could possibly catch more interrupt signals, too */ 17 17 equation 18 18 symbols = System.backtrace_symbols(positions); … … 30 30 list<String> symbols; 31 31 case NOSIGNAL() then ...; /* Regular code */ 32 case STACKOVERFLOW( messages) /* Requires language extension, but looks nice */32 case STACKOVERFLOW(positions) /* Requires language extension, but looks nice */ 33 33 equation 34 34 symbols = System.backtrace_symbols(positions); 35 35 Error.addMessage(Error.STACK_OVERFLOW, {stringDelimitList(symbols,"\n")}); 36 36 then fail(); 37 case SIGSEGV( messages) /* We could possibly catch more interrupt signals, too. Like SIGUSR1, SIGUSR2 */37 case SIGSEGV(positions) /* We could possibly catch more interrupt signals, too. Like SIGUSR1, SIGUSR2 */ 38 38 equation 39 39 symbols = System.backtrace_symbols(positions);