Skip to content
Snippets Groups Projects
Commit 3062124a 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
......@@ -65,17 +65,17 @@ PRJ_DESCRIPTION="Coast scripts"
# The following variables are used during package generation using MkPckg.sh or the old doall.sh
# Its values are needed within cpall.sh and control if project-directories and its contents get copied.
# do we have to copy WDA_BIN/WDS_BIN binary, default 1, otherwise set to 0
cfg_doBin=0;
cfg_doBin=1;
# do we have to copy libraries from WD_LIBDIR, default 1, otherwise set to 0
cfg_doLib=0;
cfg_doLib=1;
# do we have to copy CONFIGDIR contents, default 1, otherwise set to 0
cfg_doCfg=0;
cfg_doCfg=1;
# do we have to create a log directory, default 1, otherwise set to 0
cfg_doLog=0;
cfg_doLog=1;
# do we have to copy Coast scripts into package, default 1, otherwise set to 0
#cfg_doScr=0;
cfg_doScr=0;
# define relative destination directory for Coast scripts
cfg_destScriptDir="";
#cfg_destScriptDir="";
############################################################################
#
......
......@@ -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