diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/start_epc.bash b/targets/PROJECTS/GENERIC-LTE-EPC/start_epc.bash index 5a0b462aec790f90c933224d3d4937d4a7effa30..d22ecf91d4e2cd4272c8dded016c6da343a1ab70 100755 --- a/targets/PROJECTS/GENERIC-LTE-EPC/start_epc.bash +++ b/targets/PROJECTS/GENERIC-LTE-EPC/start_epc.bash @@ -359,10 +359,10 @@ echo "GNU_DEBUGGER:"$GNU_DEBUGGER if [ "x$GNU_DEBUGGER" == "xyes" ]; then echo_success "Running with GDB" touch .gdbinit - echo "file $OPENAIRCN_DIR/$OBJ_DIR/OAI_EPC/oai_epc" > .gdbinit - echo "set args -K $THIS_SCRIPT_PATH/OUTPUT/$HOSTNAME/$ITTI_LOG_FILE -c $THIS_SCRIPT_PATH/$CONFIG_FILE_EPC" >> .gdbinit -# echo "b encode_eps_mobile_identity" >> .gdbinit - echo "run" >> .gdbinit + echo "file $OPENAIRCN_DIR/$OBJ_DIR/OAI_EPC/oai_epc" > ~/.gdbinit + echo "set args -K $THIS_SCRIPT_PATH/OUTPUT/$HOSTNAME/$ITTI_LOG_FILE -c $THIS_SCRIPT_PATH/$CONFIG_FILE_EPC" >> ~/.gdbinit +# echo "b encode_eps_mobile_identity" >> ~/.gdbinit + echo "run" >> ~/.gdbinit gdb 2>&1 | tee $THIS_SCRIPT_PATH/OUTPUT/$HOSTNAME/$STDOUT_LOG_FILE else echo_success "Running without GDB"