diff --git a/package/gdb/Config.in b/package/gdb/Config.in index 1cad3c4fd8..273b3072ae 100644 --- a/package/gdb/Config.in +++ b/package/gdb/Config.in @@ -17,8 +17,6 @@ config BR2_PACKAGE_GDB depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 depends on BR2_INSTALL_LIBSTDCPP - # no gdbserver on or1k - select BR2_PACKAGE_GDB_DEBUGGER if BR2_or1k # When the external toolchain gdbserver is copied to the # target, we don't allow building a separate gdbserver. The # one from the external toolchain should be used. @@ -45,7 +43,6 @@ if BR2_PACKAGE_GDB config BR2_PACKAGE_GDB_SERVER bool "gdbserver" depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY - depends on !BR2_or1k help Build the gdbserver stub to run on the target. A full gdb is needed to debug the progam. diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host index 3b8d456f1c..e8a34e0834 100644 --- a/package/gdb/Config.in.host +++ b/package/gdb/Config.in.host @@ -3,7 +3,6 @@ config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS default y depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT) depends on !BR2_microblaze - depends on !BR2_or1k comment "Host GDB Options" depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY @@ -49,9 +48,13 @@ choice config BR2_GDB_VERSION_10 bool "gdb 10.x" + # gdbserver support missing + depends on !BR2_or1k config BR2_GDB_VERSION_11 bool "gdb 11.x" + # gdbserver support missing + depends on !BR2_or1k config BR2_GDB_VERSION_12 bool "gdb 12.x" @@ -65,6 +68,6 @@ config BR2_GDB_VERSION string default "arc-2020.09-release-gdb" if BR2_arc default "10.2" if BR2_GDB_VERSION_10 - default "11.2" if BR2_GDB_VERSION_11 || !BR2_PACKAGE_HOST_GDB - default "12.1" if BR2_GDB_VERSION_12 + default "11.2" if BR2_GDB_VERSION_11 || (!BR2_PACKAGE_HOST_GDB && !BR2_or1k) + default "12.1" if BR2_GDB_VERSION_12 || (!BR2_PACKAGE_HOST_GDB && BR2_or1k) depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB