summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2022-02-04 19:35:52 (GMT)
committerAlexey Neyman <stilor@att.net>2022-02-11 08:47:51 (GMT)
commit4c0d78bb64797bee5414bbc92b35dbbb3e57b34f (patch)
tree350c8b835eb03bb8095c86dd7cee41893d0e82b2 /config
parent586c2d01565fca083837e09f217d61e8d7ca7ae2 (diff)
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.in4
-rw-r--r--config/debug/gdb.in.native2
2 files changed, 3 insertions, 3 deletions
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index b0b9d29..741eeae 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 b4721c8..fc79084 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.