gdb: use single-number versions/milestones for 9+

Starting with GDB9, the release number is only two numbers (with the
last being patchlevel). Therefore, keep two numbers for releases 8 and
below, but just a single number for 9 and up.

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2022-02-04 11:35:52 -08:00
parent 586c2d0156
commit 4c0d78bb64
3 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@ config GDB_DEP_CXX11
config GDB_DEP_NO_STD_FUTURE
def_bool y
depends on !GCC_9_or_later
select GDB_REQUIRE_older_than_10_2
select GDB_REQUIRE_older_than_10
# Does GDB need ps_get_thread_area with const qualifier?
config GDB_CONST_GET_THREAD_AREA
@ -37,4 +37,4 @@ config GDB_CONST_GET_THREAD_AREA
# tarball (instead of a subdirectory of gdb)
config GDB_GDBSERVER_TOPLEVEL
def_bool y
depends on GDB_10_2_or_later
depends on GDB_10_or_later

View File

@ -10,7 +10,7 @@ config GDB_NATIVE
select LIBC_UCLIBC_IPV6 if LIBC_UCLIBC_NG && GDB_8_3_or_later
select EXPAT_TARGET
select NCURSES_TARGET
select GMP_TARGET if GDB_11_1_or_later
select GMP_TARGET if GDB_11_or_later
help
Build and install a native gdb for the target, to run on the target.

View File

@ -1,6 +1,6 @@
origin='GNU'
repository='git git://sourceware.org/git/binutils-gdb.git'
mirrors='$(CT_Mirrors GNU gdb) $(CT_Mirrors sourceware gdb/releases)'
relevantpattern='*.*|[a-z.]'
milestones='7.11 7.12 8.0 8.3 10.2 11.1'
relevantpattern='[78].*|. *|.'
milestones='7.11 7.12 8.0 8.3 10 11'
archive_formats='.tar.xz .tar.gz'