Sebastian Held patches15/0004-easier-debugging.patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7306 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -174,6 +174,7 @@ add_boolean_option(PDCP_MSG_PRINT False "print PDCP messages")
|
||||
add_boolean_option(TEST_OMG False "???")
|
||||
add_boolean_option(DEBUG_OMG False "???")
|
||||
add_boolean_option(XFORMS False "This adds the possibility to see the signal oscilloscope")
|
||||
add_boolean_option(DEBUG_CONSOLE False "makes debugging easier, disables stdout/stderr buffering")
|
||||
|
||||
add_boolean_option(ENABLE_ITTI True "ITTI is internal messaging, should remain enabled for most targets")
|
||||
set (ITTI_DIR ${OPENAIR_DIR}/common/utils/itti)
|
||||
|
||||
@@ -2239,6 +2239,11 @@ int main( int argc, char **argv )
|
||||
int error_code;
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_CONSOLE
|
||||
setvbuf(stdout, NULL, _IONBF, 0);
|
||||
setvbuf(stderr, NULL, _IONBF, 0);
|
||||
#endif
|
||||
|
||||
PHY_VARS_UE *UE[MAX_NUM_CCs];
|
||||
|
||||
mode = normal_txrx;
|
||||
|
||||
Reference in New Issue
Block a user