cmd/exception: support ebreak exception on RISC-V
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 9 Apr 2021 10:48:14 +0000 (10:48 +0000)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 5 May 2021 08:13:12 +0000 (16:13 +0800)
commit91e4b7516d84cefab7324765b3c8d6a909185ce2
tree445e39aed11bcfee455d7cd0d1bcd3cae822e7ed
parent1412b8d48a920f1a4f5eac256814d25c320fb9b6
cmd/exception: support ebreak exception on RISC-V

The ebreak instruction should generate a breakpoint exception.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
cmd/riscv/exception.c
doc/usage/exception.rst