Skip to content

Commit a349315

Browse files
committed
common-versions: use gdb patch
1 parent 29a3409 commit a349315

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

scripts/common-versions-source.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ function build_versions()
189189

190190
# https://www.python.org/ftp/python/
191191
# Requires `scripts/helper/extras/python/pyconfig-win-3.10.4.h` &
192-
# `python3-config.sh`
192+
# `python3-config-win.sh`
193193
PYTHON3_VERSION="3.10.4"
194194
WITH_GDB_PY3="y"
195195

@@ -322,12 +322,16 @@ function build_versions()
322322

323323
# https://ftp.gnu.org/gnu/gdb/
324324
# https://ftp.gnu.org/gnu/gdb/gdb-11.2.tar.xz
325+
# https://ftp.gnu.org/gnu/gdb/gdb-12.1.tar.xz
325326

326-
GDB_VERSION="12.1"
327+
GDB_VERSION="12.1" # "11.2"
327328
GDB_SRC_FOLDER_NAME="gdb-${GDB_VERSION}"
328329
GDB_ARCHIVE_NAME="${GDB_SRC_FOLDER_NAME}.tar.xz"
329330
GDB_ARCHIVE_URL="https://ftp.gnu.org/gnu/gdb/${GDB_ARCHIVE_NAME}"
330331

332+
# Mandatory, otherwise gdb-py3 is not relocatable.
333+
GDB_PATCH_FILE_NAME="gdb-${GDB_VERSION}.patch.diff"
334+
331335
# Task [III-6] /$HOST_NATIVE/gdb/
332336
# Task [IV-4] /$HOST_MINGW/gdb/
333337
build_cross_gdb ""

0 commit comments

Comments
 (0)