From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLzXT-00061u-Tj for qemu-devel@nongnu.org; Sun, 11 Nov 2018 18:53:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLzXQ-0000nE-Ly for qemu-devel@nongnu.org; Sun, 11 Nov 2018 18:53:11 -0500 MIME-Version: 1.0 References: <20181031213550.4544-1-jcmvbkbc@gmail.com> <13f47aff-593a-e35e-959b-4ddd9f6c6121@linaro.org> In-Reply-To: <13f47aff-593a-e35e-959b-4ddd9f6c6121@linaro.org> From: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= Date: Mon, 12 Nov 2018 00:52:53 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [PATCH] target/xtensa: drop num_[core_]regs from dc232b/dc233c configs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: Max Filippov , "qemu-devel@nongnu.org Developers" , qemu-stable Hi Max, On Thu, Nov 1, 2018 at 12:02 AM Richard Henderson wrote: > > On 10/31/18 9:35 PM, Max Filippov wrote: > > gdb_regmap::num_core_regs field is initialized incorrectly in the dc232b > > and dc233c configurations. As a result the following message is > > displayed when attaching to an xtensa linux-user process: > > > > "Register 105 is not available", > > > > and gdb is unable to control the inferior. > > > > Now that xtensa_count_regs does the right thing, remove manual > > initialization of these fields from the affected configurations and let > > xtensa_finalize_config initialize them. > > > > Cc: qemu-stable@nongnu.org > > Signed-off-by: Max Filippov > > --- > > target/xtensa/core-dc232b.c | 2 -- > > target/xtensa/core-dc233c.c | 2 -- > > 2 files changed, 4 deletions(-) > > Reviewed-by: Richard Henderson Can we include this patch for the 3.2 release? Thanks, Phil.