From de36f78f898940e7611b177e9ccd97516f131caf Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Mon, 11 Mar 2019 00:33:22 -0700 Subject: Allow older GDB to build against newer glibc Also, fix the subdir used when only gdbserver is built (without native GDB). Signed-off-by: Alexey Neyman --- config/debug/gdb.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'config/debug') diff --git a/config/debug/gdb.in b/config/debug/gdb.in index 32170c1b..7fc539ed 100644 --- a/config/debug/gdb.in +++ b/config/debug/gdb.in @@ -33,7 +33,10 @@ config GDB_DEP_CXX11 select GDB_REQUIRE_older_than_8_0 config GDB_HAS_IPA_LIB - bool + def_bool y depends on GDB_7_2_or_later - default y +# Does GDB need ps_get_thread_area with const qualifier? +config GDB_CONST_GET_THREAD_AREA + bool + default y if GDB_older_than_7_12 -- cgit v1.2.3