Re: [RFC] gdb/riscv: Improved register alias name creation

Jim Wilson
2020-06-09T20:15:10Z

On Tue, Jun 9, 2020 at 10:30 AM Andrew Burgess
<andrew.burgess@embecosm.com> wrote:
> Looking then at the final PRIV_SPEC_CLASS_* field for each alias then
> we can see that currently we only want to take the alias from
> PRIV_SPEC_CLASS_1P11. For now then this is what I'm using to filter
> the aliases within GDB.

This will do the right thing, but looks a little funny. It isn't
quite the right way to express what we want. I do think it is OK for
now, but we will have to be careful when maintaining binutils that we
don't break this assumption, or remember to update it when necessary.

Otherwise this look OK to me.

Jim