Changeset 9240 in orxonox.OLD for trunk/src/orxonox.cc
- Timestamp:
- Jul 6, 2006, 12:25:44 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/orxonox.cc
r9235 r9240 88 88 89 89 #ifndef __WIN32__ 90 REGISTER_ARG_FLAG( _, start_gdb_on_signal, "misc", "start-gdb", "Start gdb on signal", "1");91 90 REGISTER_ARG_FLAG( _, write_bt_to_file, "misc", "bt-to-file", "Write backtrace to file", "1"); 92 91 #endif … … 452 451 } 453 452 454 if ( Preferences::getInstance()->getString("misc", "start-gdb", "0") == "1" ) 455 { 456 SignalHandler::getInstance()->doCatch( argv[0], GDB_RUN_IN_FOREGROUND ); 457 SignalHandler::getInstance()->registerCallback(EventHandler::releaseMouse, NULL); 458 } 459 else if ( Preferences::getInstance()->getString("misc", "bt-to-file", "1") == "1" ) 460 { 461 SignalHandler::getInstance()->doCatch( argv[0], GDB_RUN_WRITE_TO_FILE ); 453 if ( Preferences::getInstance()->getString("misc", "bt-to-file", "1") == "1" ) 454 { 455 SignalHandler::getInstance()->doCatch( argv[0] ); 462 456 463 457 }
Note: See TracChangeset
for help on using the changeset viewer.