[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [Qemu-devel] [PATCH] target/xtensa: drop num_[core_]re
From: |
Richard Henderson |
Subject: |
Re: [Qemu-stable] [Qemu-devel] [PATCH] target/xtensa: drop num_[core_]regs from dc232b/dc233c configs |
Date: |
Wed, 31 Oct 2018 23:00:12 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
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: address@hidden
> Signed-off-by: Max Filippov <address@hidden>
> ---
> target/xtensa/core-dc232b.c | 2 --
> target/xtensa/core-dc233c.c | 2 --
> 2 files changed, 4 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~