Commit e307df1
committed
target/riscv/riscv.c: support auto-selection of software breakpoint size
Add auto-selection of breakpoint size for RISC-V targets. The new length
depends on C extension. If the C extension is used, the auto-selected
length is 2 bytes. Otherwise, the default length is 4 bytes.
Change-Id: Ie3473514beace15b76714aa6d5441122cd3262aa
Signed-off-by: Kulyatskaya Alexandra <a.kulyatskaya@syntacore.com>1 parent 6f84e90 commit e307df1
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1609 | 1609 | | |
1610 | 1610 | | |
1611 | 1611 | | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
1612 | 1622 | | |
1613 | 1623 | | |
1614 | 1624 | | |
| |||
0 commit comments