[Libreoffice-commits] .: solenv/gbuild

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Sep 20 07:00:28 PDT 2012


 solenv/gbuild/platform/unxgcc.mk |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 4ba760078019fba15f9d0d33a6094960026b9dfb
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Sep 20 15:54:23 2012 +0200

    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

diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index e6ed9e3..080a3ad 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


More information about the Libreoffice-commits mailing list