Patchwork [1/2] toolchain/gdb: disable support of full gdb on target for blackfin

login
register
mail settings
Submitter Thomas Petazzoni
Date Nov. 10, 2012, 10:28 p.m.
Message ID <1352586536-19621-1-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/198222/
State Accepted
Commit b0e53fef86814d0e300665f80374e61840e9a38c
Headers show

Comments

Thomas Petazzoni - Nov. 10, 2012, 10:28 p.m.
There is no support in gdb 6.6 for the Blackfin architecture, so
disallow this choice. This fixes the following build failure:

  http://autobuild.buildroot.org/results/e37db29810265a756833da163fda444d967d7874/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 toolchain/gdb/Config.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Peter Korsgaard - Nov. 15, 2012, 11:29 p.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> There is no support in gdb 6.6 for the Blackfin architecture, so
 Thomas> disallow this choice. This fixes the following build failure:

 Thomas>   http://autobuild.buildroot.org/results/e37db29810265a756833da163fda444d967d7874/build-end.log

Committed both, thanks.

Patch

diff --git a/toolchain/gdb/Config.in b/toolchain/gdb/Config.in
index 8acce1e..ca0c821 100644
--- a/toolchain/gdb/Config.in
+++ b/toolchain/gdb/Config.in
@@ -4,7 +4,7 @@  config BR2_PACKAGE_GDB
 	bool "Build gdb debugger for the Target"
 	select BR2_PACKAGE_NCURSES
 	depends on BR2_USE_WCHAR
-	depends on !BR2_sh && !BR2_sh64 && !BR2_avr32 && !BR2_microblaze
+	depends on !BR2_sh && !BR2_sh64 && !BR2_avr32 && !BR2_microblaze && !BR2_bfin
 	# The newest versions of gdb require thread debugging in the
 	# toolchain. The only cases for which this is not needed is if
 	# we use gdb 6.8 (marked deprecated)