summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci/gdb.txt5
-rw-r--r--.gitlab-ci/render-msys2.sh2
2 files changed, 6 insertions, 1 deletions
diff --git a/.gitlab-ci/gdb.txt b/.gitlab-ci/gdb.txt
new file mode 100644
index 00000000..4caeae5a
--- /dev/null
+++ b/.gitlab-ci/gdb.txt
@@ -0,0 +1,5 @@
+define hook-stop
+bt
+continue
+end
+run
diff --git a/.gitlab-ci/render-msys2.sh b/.gitlab-ci/render-msys2.sh
index f81f0c60..e117ee07 100644
--- a/.gitlab-ci/render-msys2.sh
+++ b/.gitlab-ci/render-msys2.sh
@@ -2,4 +2,4 @@
set -e
-PATH=_build/pango:$PATH _build/utils/pango-view --no-display --output _build/hello.png utils/HELLO.txt
+PATH=_build/pango:$PATH gdb --command=./.gitlab-ci/gdb.txt --args _build/utils/pango-view --no-display --output _build/hello.png utils/HELLO.txt