summaryrefslogtreecommitdiff
path: root/config/debug/gdb.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-03-11 07:33:22 (GMT)
committerAlexey Neyman <stilor@att.net>2019-03-11 07:33:22 (GMT)
commitde36f78f898940e7611b177e9ccd97516f131caf (patch)
tree468264dc671077e05270674518d3cbcea083dc58 /config/debug/gdb.in
parent5332f480e44d2eed46faf3290b385d141ccc2df8 (diff)
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 <stilor@att.net>
Diffstat (limited to 'config/debug/gdb.in')
-rw-r--r--config/debug/gdb.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index 32170c1..7fc539e 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