Changeset 7461 in orxonox.OLD for trunk/src/util/signal_handler.cc
- Timestamp:
- May 1, 2006, 1:47:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/signal_handler.cc
r7440 r7461 15 15 16 16 #include "signal_handler.h" 17 #include <assert.h> 17 18 18 19 #ifndef __WIN32__ … … 28 29 this->type = type; 29 30 this->appName = appName; 30 31 31 32 catchSignal( SIGSEGV ); 32 33 catchSignal( SIGABRT ); … … 75 76 76 77 assert( pipe(fd) != -1 ); 77 78 78 79 int pid = fork(); 79 80 … … 86 87 sleep(2); 87 88 88 89 89 90 return; 90 91 } … … 98 99 exit(0); 99 100 } 100 101 101 102 char command[256]; 102 103 if ( getInstance()->type == GDB_RUN_WRITE_TO_FILE )
Note: See TracChangeset
for help on using the changeset viewer.