Make priv register 8 bits.
(It's really only 2 bits, but something wonky happens between gdb and OpenOCD if I make it that size.) Change-Id: I562a65cb0ebe5aa0edcc54c251d0fea0e26f9cb1
This commit is contained in:
parent
f341db9f72
commit
37278cf2ec
|
@ -1883,6 +1883,7 @@ int riscv_init_registers(struct target *target)
|
|||
sprintf(reg_name, "priv");
|
||||
r->group = "general";
|
||||
r->feature = &feature_virtual;
|
||||
r->size = 8;
|
||||
}
|
||||
if (reg_name[0]) {
|
||||
r->name = reg_name;
|
||||
|
|
Loading…
Reference in New Issue