Changeset 7366 in orxonox.OLD for branches/signals/src/util
- Timestamp:
- Apr 25, 2006, 3:24:29 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/signals/src/util/signal_handler.cc
r7361 r7366 96 96 exit(0); 97 97 } 98 dup2( fd[0], STDIN_FILENO );98 99 99 char command[256]; 100 100 if ( getInstance()->type == GDB_RUN_WRITE_TO_FILE ) 101 { 102 dup2( fd[0], STDIN_FILENO ); 101 103 snprintf( command, 255, "gdb -p %d %s 1>" GDB_BT_FILE " 2>&1", pid, getInstance()->appName.c_str() ); 104 } 102 105 else 103 106 snprintf( command, 255, "gdb -p %d %s", pid, getInstance()->appName.c_str() );
Note: See TracChangeset
for help on using the changeset viewer.