[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3' - Makefile.am
Jan Holesovsky
kendy at collabora.com
Thu Apr 26 17:26:51 UTC 2018
Makefile.am | 14 ++++++++++++++
1 file changed, 14 insertions(+)
New commits:
commit 02e644a5c2dd7fb865c15754ada39c1a46fb61d1
Author: Jan Holesovsky <kendy at collabora.com>
Date: Wed Apr 25 13:46:48 2018 +0200
Target for running loolwsd under gdb.
Change-Id: Id3e946f90b7e61d67b2cee34276a58501380b96d
Reviewed-on: https://gerrit.libreoffice.org/53446
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/Makefile.am b/Makefile.am
index e811e0010..3e12d50e5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -262,6 +262,20 @@ run-valgrind: all @JAILS_PATH@ @SYSTEMPLATE_PATH@/system_stamp
--o:admin_console.username=admin --o:admin_console.password=admin \
--o:logging.file[@enable]=false --o:logging.level=trace
+run-gdb: all @JAILS_PATH@ @SYSTEMPLATE_PATH@/system_stamp
+ @echo "Launching loolwsd under valgrind's callgrind"
+ @fc-cache "@LO_PATH@"/share/fonts/truetype
+ @cp $(abs_top_srcdir)/test/data/hello.odt $(abs_top_srcdir)/test/data/hello-world.odt
+ gdb --tui --args \
+ ./loolwsd --nocaps \
+ --o:sys_template_path="@SYSTEMPLATE_PATH@" --o:lo_template_path="@LO_PATH@" \
+ --o:child_root_path="@JAILS_PATH@" --o:storage.filesystem[@allow]=true \
+ --o:ssl.cert_file_path="$(abs_top_srcdir)/etc/cert.pem" \
+ --o:ssl.key_file_path="$(abs_top_srcdir)/etc/key.pem" \
+ --o:ssl.ca_file_path="$(abs_top_srcdir)/etc/ca-chain.cert.pem" \
+ --o:admin_console.username=admin --o:admin_console.password=admin \
+ --o:logging.file[@enable]=false --o:logging.level=error
+
run-callgrind: all @JAILS_PATH@ @SYSTEMPLATE_PATH@/system_stamp
@echo "Launching loolwsd under valgrind's callgrind"
@fc-cache "@LO_PATH@"/share/fonts/truetype
More information about the Libreoffice-commits
mailing list