diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host index 1d718257c6..699c6a96c4 100644 --- a/package/gdb/Config.in.host +++ b/package/gdb/Config.in.host @@ -41,7 +41,7 @@ config BR2_PACKAGE_HOST_GDB_SIM choice prompt "GDB debugger Version" - default BR2_GDB_VERSION_14 + default BR2_GDB_VERSION_15 depends on !BR2_arc help Select the version of gdb you wish to use. @@ -73,7 +73,7 @@ config BR2_GDB_VERSION string default "arc-2023.09-release" if BR2_arc default "13.2" if BR2_GDB_VERSION_13 - default "14.2" if BR2_GDB_VERSION_14 || !BR2_PACKAGE_HOST_GDB - default "15.1" if BR2_GDB_VERSION_15 + default "14.2" if BR2_GDB_VERSION_14 || (!BR2_PACKAGE_HOST_GDB && !BR2_TOOLCHAIN_GCC_AT_LEAST_9) + default "15.1" if BR2_GDB_VERSION_15 || (!BR2_PACKAGE_HOST_GDB && BR2_TOOLCHAIN_GCC_AT_LEAST_9) default "16.1" if BR2_GDB_VERSION_16 depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB