From patchwork Fri Dec 4 01:45:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1410765 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.a=rsa-sha256 header.s=mail header.b=MD2ii47r; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CnFsn0SGqz9ryj for ; Fri, 4 Dec 2020 12:46:02 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8BC8487B49; Fri, 4 Dec 2020 01:45:57 +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 EqOrX33bgMyf; Fri, 4 Dec 2020 01:45:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 7038187B48; Fri, 4 Dec 2020 01:45:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 4D9B71BF3DC for ; Fri, 4 Dec 2020 01:45:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4A37E87CE2 for ; Fri, 4 Dec 2020 01:45:53 +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 mBllsv1ubxiC for ; Fri, 4 Dec 2020 01:45:51 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtprelay-out1.synopsys.com (smtprelay-out1.synopsys.com [149.117.87.133]) by whitealder.osuosl.org (Postfix) with ESMTPS id E181F87F78 for ; Fri, 4 Dec 2020 01:45:51 +0000 (UTC) Received: from mailhost.synopsys.com (sv2-mailhost2.synopsys.com [10.205.2.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id CF596C0A26; Fri, 4 Dec 2020 01:45:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1607046350; bh=FcieWTCumQ83KQJBs9+N/ZZ03GylB+JFbZPQuuFe7lc=; h=From:To:Cc:Subject:Date:From; b=MD2ii47r2+vQxODjEy39Vj06G2Ce1OE9qaZgsK9yOJUJHcKolrtLQ+Fqkq9O258uY y9QgEgopvHHCdwvaiXVE1smIN0CSu8DTUzJDI5bHhnODSMcYEdEaogBfreJBME/v5+ wZ3Gk00g+vkFhS+tAKElRKZPzP5QL82GgGsXWvIScqPb8n73/Ii1RRDsx+XVaXPiKi o7/Jd+OBUIGM7hh3M9JC6w0Ck72DfyXk3SiDII87gRW3JETdINjHBH5hEHUSB9cZX2 qeDO5fKKgPbpxmKc5bYEG5/ThyEHBfDd3Nt7pQjVhwb8vUmSJGORkP6+GxMHJCk2vD rN0f4hDyWm1TA== Received: from vineetg-Latitude-7400.internal.synopsys.com (unknown [10.13.183.89]) by mailhost.synopsys.com (Postfix) with ESMTP id 6C5E2A009C; Fri, 4 Dec 2020 01:45:50 +0000 (UTC) X-SNPS-Relay: synopsys.com From: Vineet Gupta To: buildroot@busybox.net Date: Thu, 3 Dec 2020 17:45:49 -0800 Message-Id: <20201204014549.2669932-1-vgupta@synopsys.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] Revert "package/gdb: prevent gdbserver being selected for RISC-V builds" X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Corbin , Vineet Gupta Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This reverts commit 44a9babcc67cd011e957ba9fd1cf741891957c12. As of Buildroot 2020.11 (glibc build of qemu_riscv64_virt_defconfig), cross-gdb for RISCV buildis fine and can also attach to a qemu instance, so remove the gate on not building it. Signed-off-by: Vineet Gupta Reviewed-by: Alistair Francis --- package/gdb/Config.in | 3 --- package/gdb/Config.in.host | 1 - 2 files changed, 4 deletions(-) diff --git a/package/gdb/Config.in b/package/gdb/Config.in index 48ec3e0202ac..c90d47cf0de6 100644 --- a/package/gdb/Config.in +++ b/package/gdb/Config.in @@ -20,8 +20,6 @@ config BR2_PACKAGE_GDB depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 depends on BR2_INSTALL_LIBSTDCPP - # no gdbserver on riscv - select BR2_PACKAGE_GDB_DEBUGGER if BR2_riscv # When the external toolchain gdbserver is copied to the # target, we don't allow building a separate gdbserver. The # one from the external toolchain should be used. @@ -48,7 +46,6 @@ if BR2_PACKAGE_GDB config BR2_PACKAGE_GDB_SERVER bool "gdbserver" depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY - depends on !BR2_riscv help Build the gdbserver stub to run on the target. A full gdb is needed to debug the progam. diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host index 4b868e22556b..199f1c72b001 100644 --- a/package/gdb/Config.in.host +++ b/package/gdb/Config.in.host @@ -5,7 +5,6 @@ config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS depends on !BR2_microblaze depends on !BR2_nios2 depends on !BR2_or1k - depends on !BR2_riscv depends on !BR2_nds32 comment "Host GDB Options"