From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-x92e.google.com (mail-ua1-x92e.google.com [IPv6:2607:f8b0:4864:20::92e]) by sourceware.org (Postfix) with ESMTPS id 25743383F875 for ; Wed, 10 Jun 2020 20:37:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 25743383F875 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jimw@sifive.com Received: by mail-ua1-x92e.google.com with SMTP id t26so1330537ual.13 for ; Wed, 10 Jun 2020 13:37:15 -0700 (PDT) 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=c9dG8eU6T6uc2c/S5bmoCLy3zMLp0eF8Pu5fQolrICw=; b=UOYflgBvoG3Mv3yNUejqtIwLzWdglZC12iyMIYhqOP/NyQcN5Z6xBZZn1zaSh24RCC I85QLhwVf/4P6cqD+VK7w6wBdzwAXpQ3MUT5uNTTBWDL8mXQozHR3HN6LMMac9o1WIBj 6s7+hGgwMfbRQz3bBPmGuRm/KrJFWs8gntK6/N5jZpurxQ+8SS/Jtqy6PheZrPIn+6wf jzcc8A2isqZ/IDyqkI4DuThJnxy2arVTQuaj4J6Nwd/VVrFfbqyfBWkvA9t9LTIzBo5E s67Yn399ByRP6734HrZr4r7DOh9tW7s2NZqdecCy9BHW+37qdA9TxvAJeS21FYJEE6Xl K9PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=c9dG8eU6T6uc2c/S5bmoCLy3zMLp0eF8Pu5fQolrICw=; b=NJa9mXk5+hu15wmkSwqTBfEYpTGGSnsl4srH4Qsvt6XDkgTMDeAyichTT4C75QvLcr Jb5VP+FBZxNStIrQL9shIFREwusKt3cHd/coEB0MXKBLVuqIQbwHixwej+b1fx7h0Qs0 JSNf6WtI1weakH9VP1ccLoC+PIcp2wEXFKoNED7+ePFZ5NRRacCz1WZKajY3YlkdxukO 4CwV2eifdPxfQFVnty/g8m4uLiXtf3Wjv9OKw2EoQCIeJKdjJ5NrFhtRYtyXbG8GnqTP xnAFVjjUeR+tAW5Id03B6avpKxLVcFOpEkZD2JrQ9VQjIvbxfzTNWHo5wLUQodo4nNri TWTg== X-Gm-Message-State: AOAM533+ofMGqivH+G+o2GznTzlWTB/7+kPMgYmHgqge7J3pEL2ilOsy RRSL0DSaW3LtZvTel5UmtbcMqXHSnvANr/b+uQSncA== X-Google-Smtp-Source: ABdhPJwAQM8w1/p7lOeBdq7V1Z76dMUzJ0tkyqrkMarWAv/QSyCYfu1X1yH8eJXZvXp8pavqbONBJxESHxcvZqN3d8E= X-Received: by 2002:ab0:2358:: with SMTP id h24mr3854456uao.82.1591821434729; Wed, 10 Jun 2020 13:37:14 -0700 (PDT) MIME-Version: 1.0 References: <1584007257-14466-1-git-send-email-nelson.chu@sifive.com> <87r1upefg8.fsf@tromey.com> <20200609173040.GE2737@embecosm.com> <87pna855a8.fsf@tromey.com> <20200609223051.GF2737@embecosm.com> In-Reply-To: <20200609223051.GF2737@embecosm.com> From: Jim Wilson Date: Wed, 10 Jun 2020 13:37:03 -0700 Message-ID: Subject: Re: [RFC] gdb/riscv: Improved register alias name creation To: Andrew Burgess Cc: Tom Tromey , gdb-patches@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2020 20:37:16 -0000 On Tue, Jun 9, 2020 at 3:31 PM Andrew Burgess wrote: > > (gdb) call debug.trace (me, "You") > > Could not fetch register "mucounteren"; remote failure reply 'E14' > > That is so weird! Based on the dump you included in the other email I > would have expected that to work. Bu mucounteren is one of the registers that we chose not to make an alias for because of the compatibility break. Apparently we will have to make an alias for it anyways because qemu 4.0 wants it. And someone should fix qemu to use the right register list depending on the priv spec version. Jim