aboutsummaryrefslogtreecommitdiff
path: root/config/gdb.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/gdb.conf')
-rw-r--r--config/gdb.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/gdb.conf b/config/gdb.conf
index c8c425a3..0062f796 100644
--- a/config/gdb.conf
+++ b/config/gdb.conf
@@ -14,6 +14,11 @@ default_configure_flags="$default_configure_flags --disable-werror"
# $debugdir and $datadir with '@@' to preserve them from shell parameter
# expansion. They will be converted back before being passed to configure.
default_configure_flags="$default_configure_flags --with-auto-load-safe-path=@@debugdir:@@datadir/auto-load:$sysroots"
+# Point GDB to the distro's debug info in /usr/lib/debug. This fixes Ada tests
+# for tcwg_gnu_native_check_gdb on arm, which use the distro's compiler and thus
+# need to find the distro's ld.so debug symbols.
+default_configure_flags="$default_configure_flags --with-additional-debug-dirs=/usr/lib/debug"
+
default_makeflags="all-gdb"
# For MinGW hosts, disable some features to reduce dependencies and add