From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 49907 invoked by alias); 22 Jan 2020 00:11:52 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 49897 invoked by uid 89); 22 Jan 2020 00:11:52 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=mid, HX-Languages-Length:883, images X-HELO: mail-vk1-f196.google.com Received: from mail-vk1-f196.google.com (HELO mail-vk1-f196.google.com) (209.85.221.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Jan 2020 00:11:50 +0000 Received: by mail-vk1-f196.google.com with SMTP id c129so1470799vkh.7 for ; Tue, 21 Jan 2020 16:11:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=po4wk4+2P02ziqVH/2ohn+kPXTO6VczwNZPE2J/Aqrg=; b=TM1CJtNoCJ/iH0VK/E3rbA/MhUhpotu7bufuWz4yN79E2ltPqVQbuNkJp2xne5mcag OgU6b/fbnTVkQ2hqvVQE7rdNq+oFiAH8Z/Xyr+dgazXmtsq/gk/noZGtAoHqxOT70g+d x3JqTz7uvZaGO6GYtOnJzoa3P8hXkX7fDzkTIhAb8MbHNc2yXZZSKi2cFCZY5zCeRr6N gSU2Zry5iX1HHAcouYBnNV0toZ+W9ap4NgjXWlvQ7mj1hN7CHlNBQ9yBsqAtU/EqWpjG 9w9swl9a5dE8KpJdYRuTCguMw2iQU1ClMQplCnlihTGQS2KVGw6XpzMC6JOWOYU3ZSBm yBqA== MIME-Version: 1.0 References: <00e401d5cb52$63a4d000$2aee7000$@c-sky.com> <3a15e9f5-099f-3be0-e3f1-0e17c2959158@simark.ca> <20200121125657.GH3865@embecosm.com> <20200121130036.GI3865@embecosm.com> In-Reply-To: <20200121130036.GI3865@embecosm.com> From: Jim Wilson Date: Wed, 22 Jan 2020 00:45:00 -0000 Message-ID: Subject: Re: [PATCH] riscv: add gdbserver support To: Andrew Burgess Cc: Simon Marchi , "Maciej W. Rozycki" , jiangshuai_li@c-sky.com, guoren@kernel.org, gdb-patches@sourceware.org, =?UTF-8?B?5aSP56uL5pa5?= , yunhai_shang Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00661.txt.bz2 On Tue, Jan 21, 2020 at 5:00 AM Andrew Burgess wrote: > [1] https://fedoraproject.org/wiki/Architectures/RISC-V/Installing > > If anyone knows of some instructions that will result in a RISC-V VM > that works (defined as can configure/build GDB) do please let me know. The instructions should work. RISC-V Fedora started a mass rebuild in mid January, but the images listed by virt-builder should be OK. Also keep in mind that you could be hitting a qemu bug, and you might want to try a different qemu version or top of tree for the qemu sources. There is a known bug in the RISC-V qemu-4.2 port that can causes FP programs to fail for instance, a patch was contributed last week to fix this. It helps if you mention exactly which fedora image you are using and exactly which qemu version you are using. Jim