Commit d416c954 authored by Lionel Gauthier's avatar Lionel Gauthier

.gdbinit

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5898 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 66c4c617
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment