From ded898bc5857ad57d3004f4e2ade25d851fe5490 Mon Sep 17 00:00:00 2001 From: Anton Yuzhaninov Date: Tue, 23 Oct 2018 13:36:22 -0400 Subject: [PATCH] gdb invocation nitpick * pagination is disabled by --batch * use options order like in gdb docs --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 62fd982971..047a9b39d7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -74,7 +74,7 @@ pipeline: # if rspamd-test was terminated by a signal it should be SIGSEGV or SIGABRT, try to examine core - > if [ $EXIT_CODE -gt 128 ]; then - gdb -c /var/tmp/*.rspamd-test.core ./rspamd-test -ex "set pagination 0" -ex "thread apply all bt full" --batch; + gdb --batch -ex 'thread apply all bt full' -c /var/tmp/*.rspamd-test.core ./rspamd-test; exit $EXIT_CODE; fi # luacov-coveralls reads luacov.stats.out written by rspamd-test using luacov module -- 2.47.3