From patchwork Sat Apr 13 14:09:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 236357 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 184022C0040 for ; Sun, 14 Apr 2013 00:09:36 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 183F51026E8; Sat, 13 Apr 2013 14:09:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rdyjmCyI67A7; Sat, 13 Apr 2013 14:09:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8AE84102702; Sat, 13 Apr 2013 14:09:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id B208F8F7A0 for ; Sat, 13 Apr 2013 14:09:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 261A41026DD for ; Sat, 13 Apr 2013 14:09:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M98k8rYkHJYY for ; Sat, 13 Apr 2013 14:09:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.35.102]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5CC2110244B for ; Sat, 13 Apr 2013 14:09:04 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 84AAD830; Sat, 13 Apr 2013 16:09:21 +0200 (CEST) Received: from localhost (unknown [37.161.96.88]) by mail.free-electrons.com (Postfix) with ESMTPSA id 842ED7CD for ; Sat, 13 Apr 2013 16:09:20 +0200 (CEST) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sat, 13 Apr 2013 16:09:11 +0200 Message-Id: <1365862152-24325-2-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1365862152-24325-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1365862152-24325-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [PATCH 2/2] gdb: disable on AArch64 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net The mainline gdb does not yet have AArch64 support at all, so let's disable it for this platform. The external toolchain provided by Linaro has gdbserver + cross-gdb, so it already provides what's necessary to do some debugging. Fixes http://autobuild.buildroot.org/results/c330eb75bd2d3e2f002e7a362dd5b08c4fc7fafc/build-end.log. Signed-off-by: Thomas Petazzoni --- package/gdb/Config.in | 3 ++- package/gdb/Config.in.host | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package/gdb/Config.in b/package/gdb/Config.in index 38f4564..631fdd7 100644 --- a/package/gdb/Config.in +++ b/package/gdb/Config.in @@ -9,6 +9,7 @@ config BR2_PACKAGE_GDB select BR2_PACKAGE_GDB_SERVER if \ (!BR2_PACKAGE_GDB_DEBUGGER && !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY) depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_HAS_THREADS_DEBUG + depends on !BR2_aarch64 help GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes -- or @@ -38,7 +39,7 @@ config BR2_PACKAGE_GDB_DEBUGGER bool "full debugger" select BR2_PACKAGE_NCURSES depends on BR2_USE_WCHAR - 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 comment "full gdb on target needs WCHAR support in toolchain" depends on !BR2_USE_WCHAR diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host index 1e09263..a791f09 100644 --- a/package/gdb/Config.in.host +++ b/package/gdb/Config.in.host @@ -4,6 +4,7 @@ config BR2_PACKAGE_HOST_GDB # allow to build a cross-gdb, as the one of the external # toolchain should be used. depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY + depends on !BR2_aarch64 help Build a cross gdb that runs on the host machine and debugs programs running on the target. It requires 'gdbserver'