Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: configure gdb settings #17

Merged
merged 1 commit into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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