On Tue, Oct 8, 2019 at 2:00 AM Bin Meng <bmeng...@gmail.com> wrote: > My gdb does not list "priv" register after applying this patch.
I didn't try the patch, I didn't have time for that. I would expect priv to be in the "info registers" output if you are adding it to the cpu register set. Shrug. Anyways, defining priv as a virtual register is the right way to do this, as it isn't a cpu register, and gdb already has support for virtual registers like priv. Jim