Clear type 6 triggers on connecting. (#648)
I missed this when I first add mcontrol6 support. Change-Id: I1a2706c7ea3a6757ed5083091cd2c764a8b0267c Signed-off-by: Tim Newsome <tim@sifive.com>
This commit is contained in:
parent
3858878d38
commit
f139080376
|
@ -3791,6 +3791,10 @@ int riscv_enumerate_triggers(struct target *target)
|
||||||
if (tdata1 & MCONTROL_DMODE(riscv_xlen(target)))
|
if (tdata1 & MCONTROL_DMODE(riscv_xlen(target)))
|
||||||
riscv_set_register(target, GDB_REGNO_TDATA1, 0);
|
riscv_set_register(target, GDB_REGNO_TDATA1, 0);
|
||||||
break;
|
break;
|
||||||
|
case 6:
|
||||||
|
if (tdata1 & MCONTROL_DMODE(riscv_xlen(target)))
|
||||||
|
riscv_set_register(target, GDB_REGNO_TDATA1, 0);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue