Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9903 in orxonox.OLD for branches/network/src


Ignore:
Timestamp:
Oct 27, 2006, 9:22:50 AM (18 years ago)
Author:
rennerc
Message:

catch SIGILL
SIGILL -= 2

Location:
branches/network/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/story_entities/multi_player_world_data.cc

    r9869 r9903  
    149149        BaseObject* created = Factory::fabricate(element);
    150150        if( created != NULL )
    151           PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassCName(), created->getCName(), created->getLeafClassID(), element->Value());
     151          PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassCName(), created->getCName(), (int)created->getLeafClassID().id(), element->Value());
    152152        else
    153153          PRINTF(1)("NetworkWorld: could not create this entity\n");
     
    180180
    181181          if( created != NULL )
    182             PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassCName(), created->getCName(), created->getLeafClassID(), element->Value());
     182            PRINTF(1)("Created a %s: %s (0x%8x) from %s\n", created->getClassCName(), created->getCName(), created->getLeafClassID().id(), element->Value());
    183183          else
    184184            PRINTF(1)("NetworkWorld: could not create this entity\n");
  • branches/network/src/util/signal_handler.cc

    r9406 r9903  
    4242  catchSignal( SIGSEGV );
    4343  catchSignal( SIGABRT );
     44  catchSignal( SIGILL );
    4445}
    4546
     
    9495    case SIGABRT:
    9596      sigName = "SIGABRT";
     97      break;
     98    case SIGILL:
     99      sigName = "SIGILL";
    96100      break;
    97101  }
Note: See TracChangeset for help on using the changeset viewer.