From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by sourceware.org (Postfix) with ESMTPS id 0F52E3858D35 for ; Wed, 10 Jun 2020 13:26:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0F52E3858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nelson.chu@sifive.com Received: by mail-il1-x131.google.com with SMTP id z2so1884975ilq.0 for ; Wed, 10 Jun 2020 06:26:30 -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=NiT/zqX0LZcCs5D4+BkhOokty/FOA8y4HzSnK3Cxvwc=; b=jXzqnY6ohp5AWqygzCL7QMJRxN62BsVfUKKz7JBL+vj0IIF6ntcfusv0PTIybiQbXW zzBSB1pALfysV1yS2PLy87y9qEsTytP/1oM3FxsiaUxwrzkW6+lCbhM3PKSmxm02miMF AN8fJjDKQgSw0cdhR4ubynbmz/D3SdQ1cY98l2CdmU0fxY0bEIkGkLRgMsSCxKqXKqX7 RiE8L7pCKNyV0np8XTRHtwYx+CLKqfDMNxOvDDGg2i6XucG9Tfww46CvKxFVP9zbsMTl O2k/BGaK6cgvPnoporY2f87zq8ag9OldMZ82jZQxWmiYTMihD8RUnu7TmvfvTE9MpYDt MtXw== 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=NiT/zqX0LZcCs5D4+BkhOokty/FOA8y4HzSnK3Cxvwc=; b=uZHt2fAOkFlfxtCa8B79kFu0wacOtaw97ndijLX1sMGUuIAkWuURnftdHPveujf6tt oVvMI2xbns4uuiTFlyqv2r0BgVLjexlSO70F8MA0mFOOq0nIz6QCmO4fvTrKVXq8Ahz6 fwZX0Vuc9xdK+85w1ucB/0NlFQlqqPFjRKansI+sKBm1uUz9pvUMsD0MFCnW8RiHrS2T fnglklxFqgymzLbeVFai7XtcM0gC8XMCM+fpX7PqK6ZGspcVXch7lk8tazpPo77fXHfc RuWuVBdNPEMLZ6RygLBMM4TKr65/h0Xauj1d8ahFb5S5EK8lzmH906f1dG7bI0JjLNOT PqTw== X-Gm-Message-State: AOAM530T4XWlLXcIcGGzX2sAW1d1D/bjQOGk7prlDNZ/DbbBzSE2M8Hq JVWzxFj1imWJQQ4T0tFykueKZ9jdtk2UJkijvQdsYQ== X-Google-Smtp-Source: ABdhPJwRQP8yLi6Q82hITO1n9h5A717wizat2rO5UKor+jrHsGLe3VDWWnYoz5CDDH3Ux2ljXwtWgV+j68Mw173dT78= X-Received: by 2002:a92:5e52:: with SMTP id s79mr2725554ilb.33.1591795589543; Wed, 10 Jun 2020 06:26:29 -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> <20200609224723.GG2737@embecosm.com> <20200610105559.GI2737@embecosm.com> In-Reply-To: <20200610105559.GI2737@embecosm.com> From: Nelson Chu Date: Wed, 10 Jun 2020 21:26:18 +0800 Message-ID: Subject: Re: [RFC] gdb/riscv: Improved register alias name creation To: Andrew Burgess Cc: Jim Wilson , Tom Tromey , gdb-patches@sourceware.org X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 13:26:31 -0000 > > Hi Andrew, Thanks for your feedback. Do you plan to post a patch introducing the > DECLARE_CSR_ALIAS_* macros soon(ish) or should I go ahead with the > current version of my patch, and if/when you add the new macros you > can update GDB to only use the one we care about, and drop the version > check at that point? I do plan to support the DECLARE_CSR_ALIAS_* recently if it is at least good to you and Jim. I am glad to doing the changes that we are discussing, that is, drop the version checking when we only need to care about the DECLARE_CSR_ALIAS in gdb. So please feel free and go ahead. Thank you very much, your fix in gdb is really helpful. Thanks Nelson >