summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-09-20 15:54:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-20 15:54:23 +0200
commit4ba760078019fba15f9d0d33a6094960026b9dfb (patch)
tree9b62b177aea0468e79e642272575766860bab310
parent5e6c595e9d698caf23ae68d38b9cab30ff9c9b94 (diff)
Make "make debugrun" less fancy but more useful
For one, --tui has negative impact on terminal behavior in certain ssh scenarios for me. Whether and how to use it should be a user's personal choice anyway. For another, you sometimes need to interact with gdb early, so do not automatically start to run soffice.bin. Change-Id: I1a1a02f5359aae2a11effa6620aebf01202357f9
-rw-r--r--solenv/gbuild/platform/unxgcc.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index e6ed9e327443..080a3ad0f3c8 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -390,9 +390,8 @@ endef
define gb_Module_DEBUGRUNCOMMAND
OFFICESCRIPT=`mktemp` && \
printf 'if [ -e $(DEVINSTALLDIR)/opt/program/ooenv ]; then . $(DEVINSTALLDIR)/opt/program/ooenv; fi\n' > $${OFFICESCRIPT} && \
-printf "gdb --tui $(DEVINSTALLDIR)/opt/program/soffice.bin" >> $${OFFICESCRIPT} && \
+printf "gdb $(DEVINSTALLDIR)/opt/program/soffice.bin" >> $${OFFICESCRIPT} && \
printf " -ex \"set args --norestore --nologo '--accept=pipe,name=$(USER);urp;' -env:UserInstallation=file://$(DEVINSTALLDIR)/\"" >> $${OFFICESCRIPT} && \
-printf " -ex \"r\"\\n" >> $${OFFICESCRIPT} && \
$(SHELL) $${OFFICESCRIPT} && \
rm $${OFFICESCRIPT}
endef