From f3960bffd07332db4c728771ddb20e50f0c1436f Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 21 Oct 2021 20:04:51 +0200 Subject: [PATCH] Configure Emacs on emba with debug options * test/infra/Dockerfile.emba (emacs-base): Install gdb. (emacs-inotify): Configure debug options. --- test/infra/Dockerfile.emba | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/infra/Dockerfile.emba b/test/infra/Dockerfile.emba index c129bc8be87..a031fc16859 100644 --- a/test/infra/Dockerfile.emba +++ b/test/infra/Dockerfile.emba @@ -29,7 +29,7 @@ FROM debian:stretch as emacs-base RUN apt-get update && \ apt-get install -y --no-install-recommends -o=Dpkg::Use-Pty=0 \ libc-dev gcc g++ make autoconf automake libncurses-dev gnutls-dev \ - libdbus-1-dev libacl1-dev acl git texinfo \ + libdbus-1-dev libacl1-dev acl git texinfo gdb \ && rm -rf /var/lib/apt/lists/* FROM emacs-base as emacs-inotify @@ -42,7 +42,8 @@ RUN apt-get update && \ COPY . /checkout WORKDIR /checkout RUN ./autogen.sh autoconf -RUN ./configure +RUN ./configure --enable-checking='yes,glyphs' --enable-check-lisp-object-type \ + CFLAGS='-O0 -g3' # 'make -j4 bootstrap' does not work reliably. RUN make bootstrap -- 2.39.2