From patchwork Wed Dec 19 07:28:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 207251 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id C7F162C0471 for ; Wed, 19 Dec 2012 18:28:43 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5DAFAA0237; Wed, 19 Dec 2012 07:28:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wresArn6tvMf; Wed, 19 Dec 2012 07:28:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 31107A00B9; Wed, 19 Dec 2012 07:28:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 2D1ED8F75B for ; Wed, 19 Dec 2012 07:28:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8E53C816CC for ; Wed, 19 Dec 2012 07:28:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IyQGbhf3BbOJ for ; Wed, 19 Dec 2012 07:28:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.32.191]) by whitealder.osuosl.org (Postfix) with ESMTP id C08BE816DC for ; Wed, 19 Dec 2012 07:28:22 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id A5A31175; Wed, 19 Dec 2012 08:28:22 +0100 (CET) Received: from localhost (col31-4-88-188-83-94.fbx.proxad.net [88.188.83.94]) by mail.free-electrons.com (Postfix) with ESMTPSA id D54C2153 for ; Wed, 19 Dec 2012 08:28:15 +0100 (CET) From: Maxime Ripard To: buildroot@busybox.net Date: Wed, 19 Dec 2012 08:28:14 +0100 Message-Id: <1355902094-7555-1-git-send-email-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 Subject: [Buildroot] [PATCH] gdb: Needs threads support 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 Fixes http://autobuild.buildroot.org/results/5a502f16ad94a410ca21c9a7f223d6c12086bbb5/build-end.log Signed-off-by: Maxime Ripard --- toolchain/gdb/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/toolchain/gdb/Config.in b/toolchain/gdb/Config.in index 50aafdf..6a8e48e 100644 --- a/toolchain/gdb/Config.in +++ b/toolchain/gdb/Config.in @@ -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_TOOLCHAIN_HAS_THREADS depends on !BR2_sh && !BR2_sh64 && !BR2_avr32 && !BR2_microblaze && !BR2_bfin && !BR2_aarch64 # The newest versions of gdb require thread debugging in the # toolchain. The only cases for which this is not needed is if @@ -15,8 +16,8 @@ config BR2_PACKAGE_GDB help Build the full gdb debugger to run on the target. -comment "Gdb debugger for the target needs WCHAR support in toolchain" - depends on !BR2_USE_WCHAR +comment "Gdb for the target needs WCHAR and threads support in toolchain" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_GDB_SERVER bool "Build gdb server for the Target"