gdb: do not allow native gdb on SuperH architecture
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 13 Nov 2011 08:55:54 +0000 (09:55 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 13 Nov 2011 20:31:39 +0000 (21:31 +0100)
The gdb debugger does not have support for running as the native
debugger on the SuperH architecture:

 configure: error: "*** Gdb does not support native target sh4-unknown-linux-gnu"

See also http://lists.debian.org/debian-superh/2010/04/msg00000.html.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/gdb/Config.in

index e593698d23744addfa6177848a8691101e23781c..af6e56aacdf77fa40389660e7777d9a3ad255ae1 100644 (file)
@@ -4,6 +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
        help
            Build the full gdb debugger to run on the target.