gdb: enable gdb for riscv
Signed-off-by: Mohamad Noor Alim Hussin <mnalim@efinixinc.com>
This commit is contained in:
@@ -19,8 +19,6 @@ config BR2_PACKAGE_GDB
|
|||||||
depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
# no gdbserver on riscv
|
|
||||||
select BR2_PACKAGE_GDB_DEBUGGER if BR2_riscv
|
|
||||||
# When the external toolchain gdbserver is copied to the
|
# When the external toolchain gdbserver is copied to the
|
||||||
# target, we don't allow building a separate gdbserver. The
|
# target, we don't allow building a separate gdbserver. The
|
||||||
# one from the external toolchain should be used.
|
# one from the external toolchain should be used.
|
||||||
@@ -47,7 +45,6 @@ if BR2_PACKAGE_GDB
|
|||||||
config BR2_PACKAGE_GDB_SERVER
|
config BR2_PACKAGE_GDB_SERVER
|
||||||
bool "gdbserver"
|
bool "gdbserver"
|
||||||
depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
|
depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
|
||||||
depends on !BR2_riscv
|
|
||||||
help
|
help
|
||||||
Build the gdbserver stub to run on the target.
|
Build the gdbserver stub to run on the target.
|
||||||
A full gdb is needed to debug the progam.
|
A full gdb is needed to debug the progam.
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS
|
|||||||
depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT)
|
depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT)
|
||||||
depends on !BR2_microblaze
|
depends on !BR2_microblaze
|
||||||
depends on !BR2_or1k
|
depends on !BR2_or1k
|
||||||
depends on !BR2_riscv
|
|
||||||
depends on !BR2_nds32
|
depends on !BR2_nds32
|
||||||
|
|
||||||
comment "Host GDB Options"
|
comment "Host GDB Options"
|
||||||
|
|||||||
Reference in New Issue
Block a user