Merge pull request #10 from guyush1/gdb-15.2-update
build: update gdb to v15.2
This commit is contained in:
commit
08909223f2
@ -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=<COMPILATION_DIR_PATH>/lib/.libs/ --with-libiconv-type=static`
|
||||
IV) run `make all-gdb -j$(nproc)` - for gdbserver, run `make all-gdbserver -j$(nproc)`.
|
||||
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user