Skip to content

Commit

Permalink
chore: configure gdb settings
Browse files Browse the repository at this point in the history
  • Loading branch information
romange committed Mar 4, 2025
1 parent 71bf05f commit 2a8ae02
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
5 changes: 4 additions & 1 deletion fedora30-dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ RUN dnf install -y automake gcc-c++ git libtool make ninja-build \

RUN dnf install -y bison libzstd-static --releasever=32

RUN /tmp/install_boost.sh && /tmp/get_cmake.sh
RUN /tmp/install_boost.sh && /tmp/get_cmake.sh

RUN mkdir -p ~/.config/gdb && echo 'set history save on' >> ~/.config/gdb/gdbinit \
&& echo 'set debuginfod enabled off' >> ~/.config/gdb/gdbinit
5 changes: 4 additions & 1 deletion fedora41-dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ FROM fedora:41
RUN dnf install -y automake boost-devel bison ccache cmake gcc-c++ git \
libtool make ninja-build \
openssl-devel libunwind-devel autoconf-archive patch \
pcre2-devel python3-devel python3-pip zlib-devel gdb
pcre2-devel python3-devel python3-pip zlib-devel gdb

RUN mkdir -p ~/.config/gdb && echo 'set history save on' >> ~/.config/gdb/gdbinit \
&& echo 'set debuginfod enabled off' >> ~/.config/gdb/gdbinit
4 changes: 4 additions & 0 deletions u20.04-dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ RUN /tmp/get_mold.sh
RUN /tmp/install_versioned_redis.sh redis-server redis-server-6.2.11 https://github.com/redis/redis/archive/6.2.11.tar.gz
RUN /tmp/install_versioned_redis.sh redis-server redis-server-7.2.2 https://github.com/redis/redis/archive/7.2.2.tar.gz
RUN /tmp/install_versioned_redis.sh valkey-server valkey-server-8.0.1 https://github.com/valkey-io/valkey/archive/refs/tags/8.0.1.tar.gz

RUN mkdir -p ~/.config/gdb && echo 'set history save on' >> ~/.config/gdb/gdbinit \
&& echo 'set debuginfod enabled off' >> ~/.config/gdb/gdbinit

2 changes: 2 additions & 0 deletions u22.04-dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 40 \
--slave /usr/bin/g++ g++ /usr/bin/g++-11

RUN /tmp/get_mold.sh
RUN mkdir -p ~/.config/gdb && echo 'set history save on' >> ~/.config/gdb/gdbinit \
&& echo 'set debuginfod enabled off' >> ~/.config/gdb/gdbinit
2 changes: 2 additions & 0 deletions u24.04-dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ RUN apt update && apt install -y autoconf-archive bison clang cmake curl gdb git
&& rm -rf /var/lib/apt/lists/*

RUN /tmp/get_mold.sh
RUN mkdir -p ~/.config/gdb && echo 'set history save on' >> ~/.config/gdb/gdbinit \
&& echo 'set debuginfod enabled off' >> ~/.config/gdb/gdbinit

0 comments on commit 2a8ae02

Please sign in to comment.