[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] RISC-V: Select FPU gdb xml file based on the
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v2] RISC-V: Select FPU gdb xml file based on the supported extensions |
Date: |
Tue, 20 Aug 2019 13:21:59 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 8/20/19 1:06 PM, Jim Wilson wrote:
> I don't see a need to remove the fp csr's from the csr list. There are other
> extension dependent CSRs, like hypervisor ones. I think it makes more sense
> for
> the csr list to contain all of the csrs, and then disable access to them if
> that extension is not enabled. If there is a good reason to require changes
> to
> the csr XML files, then it probably should be discussed with the gdb
> developers
> too, so that the gdb and qemu copies of the files remain consistent.
Another possibility is to generate the list of csr's at runtime and export that
to the connecting gdb.
We do this in target/arm/gdbstub.c, arm_gen_dynamic_xml.
r~