From f8066ffefcb394dfa9394c81347472328105d43c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 15 Dec 2017 08:51:16 +0200 Subject: Enable core dumps in bootstrap scripts --- etc/bootstrap/bbot-bootstrap-linux.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc/bootstrap/bbot-bootstrap-linux.sh') diff --git a/etc/bootstrap/bbot-bootstrap-linux.sh b/etc/bootstrap/bbot-bootstrap-linux.sh index f9ed447..0856e06 100755 --- a/etc/bootstrap/bbot-bootstrap-linux.sh +++ b/etc/bootstrap/bbot-bootstrap-linux.sh @@ -8,6 +8,11 @@ if ! jobs="$(nproc)"; then jobs=1 fi +# Enable core dumps (into /tmp by default) for postmortem debugging. +# +cd /tmp +ulimit -c unlimited + # Note: bootstrap script options must come before build options. # "$(dirname "$0")/bbot-bootstrap.sh" \ -- cgit v1.1