From 5e82ca9e3d39d022ab5dd8558d4543e2684863a8 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Wed, 20 Mar 2019 17:40:33 -0700 Subject: Only build libinproctrace for *-linux-gnu targets Signed-off-by: Alexey Neyman --- config/debug/gdb.in.native | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config/debug') diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native index 1ee8ad12..df3ca7c5 100644 --- a/config/debug/gdb.in.native +++ b/config/debug/gdb.in.native @@ -26,10 +26,12 @@ if GDB_NATIVE || GDB_GDBSERVER config GDB_NATIVE_BUILD_IPA_LIB bool prompt "Build the IPA library" + depends on LIBC_GLIBC depends on GDB_HAS_IPA_LIB && !GDB_NATIVE_STATIC help gdbserver >= 7.2 comes with an optional library to use tracepoints, - the In Process Agent (IPA) library, libinproctrace.so. + the In Process Agent (IPA) library, libinproctrace.so. This library + uses some GNU extensions from the C library. Say 'y' if you intend to use tracepoints when debugging your programs with gdbserver. -- cgit v1.2.3 From 19cc968f33e9fa6eea2082e2ac5a0ca6ef3390cf Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Mon, 1 Apr 2019 21:02:36 -0700 Subject: Require WCHAR in uClibc for all GDB versions if building natively. 7.12.1 and 7.11.1 are also breaking in absence of Signed-off-by: Alexey Neyman --- config/debug/gdb.in.native | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/debug') diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native index df3ca7c5..101e8246 100644 --- a/config/debug/gdb.in.native +++ b/config/debug/gdb.in.native @@ -6,7 +6,7 @@ config GDB_NATIVE depends on ! BARE_METAL depends on ! LIBC_BIONIC depends on CC_LANG_CXX || !GDB_8_0_or_later - select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC && GDB_8_0_or_later + select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC select EXPAT_TARGET select NCURSES_TARGET help -- cgit v1.2.3