Skip to content
Snippets Groups Projects
Commit eebc67f0 authored by Marcel Huber's avatar Marcel Huber
Browse files

* corrected gdb parameters

parent 55eda7d5
No related branches found
No related tags found
No related merge requests found
......@@ -199,7 +199,7 @@ if [ $cfg_dbgctl -eq 0 ]; then
else
printf "%s %s: " "`date +%Y%m%d%H%M%S`" "${MYNAME}" >> ${ServerMsgLog}
printf "starting %s [%s] using GDB in batch mode with options [%s] on [%s]\n" "${SERVERNAME}" "$WDS_BIN" "$cfg_srvopts" "${HOSTNAME}" | tee -a ${ServerMsgLog} ${ServerErrLog};
gdb -batch -command ${cfg_gdbcommands} 2>> ${ServerErrLog} >> ${ServerMsgLog} &
gdb --batch --command ${cfg_gdbcommands} 2>> ${ServerErrLog} >> ${ServerMsgLog} &
fi
# this on seems to be simpler to grasp the PID than using ps
locProcPid=$!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment