From 4c9cc100fbbb2ac1f53f5f6f1e348d9b55d28b62 Mon Sep 17 00:00:00 2001 From: Guy Shimko Date: Wed, 30 Oct 2024 22:14:26 +0200 Subject: [PATCH] build: update gdb to v15.2 --- README.md | 4 ++-- src/download_packages.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b2ba032..24b0b57 100644 --- a/README.md +++ b/README.md @@ -88,10 +88,10 @@ VII) run `cp ./lib/.libs/libiconv.a ./lib/.libs/lib/` ## 2) Compiling gdb Clone gdb from sourceware - https://sourceware.org/git/binutils-gdb.git. -I checked out to the 15.1 tag. +I checked out to the 15.2 tag. Work according to the following steps: -I) Apply my patches (gdb_static.patch). If you are not on the exact tag i used (15.1) - you might need to apply them manually, and change some stuff. +I) Apply my patches (gdb_static.patch). If you are not on the exact tag i used (15.2) - you might need to apply them manually, and change some stuff. II) create a build dir. III) run `../configure --enable-static --with-static-standard-libraries --disable-tui --disable-inprocess-agent --with-libiconv-prefix=/lib/.libs/ --with-libiconv-type=static` IV) run `make all-gdb -j$(nproc)` - for gdbserver, run `make all-gdbserver -j$(nproc)`. diff --git a/src/download_packages.sh b/src/download_packages.sh index 84634cb..78a7734 100755 --- a/src/download_packages.sh +++ b/src/download_packages.sh @@ -9,7 +9,7 @@ PACKAGE_URLS=( "https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.17.tar.gz" "https://ftp.gnu.org/pub/gnu/gmp/gmp-6.3.0.tar.xz" "https://ftp.gnu.org/pub/gnu/mpfr/mpfr-4.2.1.tar.xz" - "https://ftp.gnu.org/gnu/gdb/gdb-15.1.tar.xz" + "https://ftp.gnu.org/gnu/gdb/gdb-15.2.tar.xz" ) function unpack_tarball() {