gdb: Needs threads support

Fixes
http://autobuild.buildroot.org/results/480ee3efd8ffe8043329fec173ef8187bd54e0fb/build-end.log

[Peter: correct autobuilder URL]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Maxime Ripard 2012-12-18 21:28:14 +00:00 committed by Peter Korsgaard
parent 9229b82d63
commit dd436d46fe

View File

@ -4,6 +4,7 @@ config BR2_PACKAGE_GDB
bool "Build gdb debugger for the Target" bool "Build gdb debugger for the Target"
select BR2_PACKAGE_NCURSES select BR2_PACKAGE_NCURSES
depends on BR2_USE_WCHAR depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_sh && !BR2_sh64 && !BR2_avr32 && !BR2_microblaze && !BR2_bfin && !BR2_aarch64 depends on !BR2_sh && !BR2_sh64 && !BR2_avr32 && !BR2_microblaze && !BR2_bfin && !BR2_aarch64
# The newest versions of gdb require thread debugging in the # The newest versions of gdb require thread debugging in the
# toolchain. The only cases for which this is not needed is if # toolchain. The only cases for which this is not needed is if
@ -15,8 +16,8 @@ config BR2_PACKAGE_GDB
help help
Build the full gdb debugger to run on the target. Build the full gdb debugger to run on the target.
comment "Gdb debugger for the target needs WCHAR support in toolchain" comment "Gdb for the target needs WCHAR and threads support in toolchain"
depends on !BR2_USE_WCHAR depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_GDB_SERVER config BR2_PACKAGE_GDB_SERVER
bool "Build gdb server for the Target" bool "Build gdb server for the Target"