* [Buildroot] [PATCH 1/2] toolchain/gdb: disable support of full gdb on target for blackfin
@ 2012-11-10 22:28 Thomas Petazzoni
2012-11-10 22:28 ` [Buildroot] [PATCH 2/2] toolchain/gdb: exceptionally allow building gdbserver for the target on blackfin Thomas Petazzoni
2012-11-15 23:29 ` [Buildroot] [PATCH 1/2] toolchain/gdb: disable support of full gdb on target for blackfin Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2012-11-10 22:28 UTC (permalink / raw)
To: buildroot
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(-)
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)
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] toolchain/gdb: exceptionally allow building gdbserver for the target on blackfin
2012-11-10 22:28 [Buildroot] [PATCH 1/2] toolchain/gdb: disable support of full gdb on target for blackfin Thomas Petazzoni
@ 2012-11-10 22:28 ` Thomas Petazzoni
2012-11-15 23:29 ` [Buildroot] [PATCH 1/2] toolchain/gdb: disable support of full gdb on target for blackfin Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2012-11-10 22:28 UTC (permalink / raw)
To: buildroot
In order to guarantee the compatibility between the cross gdb and the
gdbserver, we expect external toolchains to provide both cross gcc and
gdbserver. Unfortunately, external toolchains provided by Analog
Devices for Blackfin do not come with a gdbserver, so we
exceptionnally allow the building on gdbserver even with external
toolchains in the Blackfin case.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
toolchain/gdb/Config.in | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/toolchain/gdb/Config.in b/toolchain/gdb/Config.in
index ca0c821..66f1b42 100644
--- a/toolchain/gdb/Config.in
+++ b/toolchain/gdb/Config.in
@@ -20,7 +20,14 @@ comment "Gdb debugger for the target needs WCHAR support in toolchain"
config BR2_PACKAGE_GDB_SERVER
bool "Build gdb server for the Target"
- depends on !BR2_TOOLCHAIN_EXTERNAL
+ # In order to guarantee the compatibility between the cross
+ # gdb and the gdbserver, we expect external toolchains to
+ # provide both cross gcc and gdbserver. Unfortunately,
+ # external toolchains provided by Analog Devices for Blackfin
+ # do not come with a gdbserver, so we exceptionnally allow the
+ # building on gdbserver even with external toolchains in the
+ # Blackfin case.
+ depends on !BR2_TOOLCHAIN_EXTERNAL || BR2_bfin
help
Build the gdbserver stub to run on the target.
A full gdb is needed to debug the progam.
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] toolchain/gdb: disable support of full gdb on target for blackfin
2012-11-10 22:28 [Buildroot] [PATCH 1/2] toolchain/gdb: disable support of full gdb on target for blackfin Thomas Petazzoni
2012-11-10 22:28 ` [Buildroot] [PATCH 2/2] toolchain/gdb: exceptionally allow building gdbserver for the target on blackfin Thomas Petazzoni
@ 2012-11-15 23:29 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2012-11-15 23:29 UTC (permalink / raw)
To: buildroot
>>>>> "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.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-15 23:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-10 22:28 [Buildroot] [PATCH 1/2] toolchain/gdb: disable support of full gdb on target for blackfin Thomas Petazzoni
2012-11-10 22:28 ` [Buildroot] [PATCH 2/2] toolchain/gdb: exceptionally allow building gdbserver for the target on blackfin Thomas Petazzoni
2012-11-15 23:29 ` [Buildroot] [PATCH 1/2] toolchain/gdb: disable support of full gdb on target for blackfin Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox