[Libreoffice-commits] .: solenv/gbuild
Bjoern Michaelsen
bmichaelsen at kemper.freedesktop.org
Fri Nov 25 17:15:43 PST 2011
solenv/gbuild/platform/unxgcc.mk | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
New commits:
commit 3d37661a095c8d0a2a4376a859fa73c99a45ca56
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date: Sat Nov 26 01:54:14 2011 +0100
dont attach, start own instance as otherwise it might be blocked via/proc/sys/kernel/yama/ptrace_scope
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index 9d07c9f..c5c0324 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -401,11 +401,10 @@ endef
define gb_Module_DEBUGRUNCOMMAND
OFFICESCRIPT=`mktemp` && \
-echo ". $(OUTDIR)/installation/opt/program/ooenv" > $${OFFICESCRIPT} && \
-echo "$(OUTDIR)/installation/opt/program/soffice.bin --norestore --nologo \"--accept=pipe,name=$(USER);urp;\" -env:UserInstallation=file://$(OUTDIR)/installation/ &" >> $${OFFICESCRIPT} && \
-echo "OFFICEPID=\$$!" >> $${OFFICESCRIPT} && \
-echo "echo \"office started as \$${OFFICEPID}\"" >> $${OFFICESCRIPT} && \
-echo "gdb -ex \"at \$${OFFICEPID}\" -ex \"c\"" >> $${OFFICESCRIPT} && \
+printf ". $(OUTDIR)/installation/opt/program/ooenv\\n" > $${OFFICESCRIPT} && \
+printf "gdb $(OUTDIR)/installation/opt/program/soffice.bin" >> $${OFFICESCRIPT} && \
+printf " -ex \"set args --norestore --nologo \\\"--accept=pipe,name=$(USER);urp;\\\" -env:UserInstallation=file://$(OUTDIR)/installation/\"" >> $${OFFICESCRIPT} && \
+printf " -ex \"r\"\\n" >> $${OFFICESCRIPT} && \
$(SHELL) $${OFFICESCRIPT} && \
rm $${OFFICESCRIPT}
endef
More information about the Libreoffice-commits
mailing list