diff options
author | Alexey Neyman <stilor@att.net> | 2022-02-04 11:35:52 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2022-02-11 00:47:51 -0800 |
commit | 4c0d78bb64797bee5414bbc92b35dbbb3e57b34f (patch) | |
tree | 350c8b835eb03bb8095c86dd7cee41893d0e82b2 /config | |
parent | 586c2d01565fca083837e09f217d61e8d7ca7ae2 (diff) | |
download | crosstool-ng-4c0d78bb64797bee5414bbc92b35dbbb3e57b34f.tar.gz crosstool-ng-4c0d78bb64797bee5414bbc92b35dbbb3e57b34f.tar.bz2 crosstool-ng-4c0d78bb64797bee5414bbc92b35dbbb3e57b34f.zip |
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>
Diffstat (limited to 'config')
-rw-r--r-- | config/debug/gdb.in | 4 | ||||
-rw-r--r-- | config/debug/gdb.in.native | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config/debug/gdb.in b/config/debug/gdb.in index b0b9d294..741eeaea 100644 --- a/config/debug/gdb.in +++ b/config/debug/gdb.in @@ -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 diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native index b4721c87..fc79084d 100644 --- a/config/debug/gdb.in.native +++ b/config/debug/gdb.in.native @@ -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. |