summary refs log tree commit diff stats
path: root/scripts/tracetool/transform.py
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2023-02-28 21:45:32 +0800
committerPalmer Dabbelt <palmer@rivosinc.com>2023-03-01 16:40:23 -0800
commit0308fc621914ba424705d188dc4a58006edb3472 (patch)
tree27ab9359e0d200378a15d14226cd241d37e086dc /scripts/tracetool/transform.py
parentddb10742f1acce17dbb8f3551af01bf5bfc4fa14 (diff)
downloadfocaccia-qemu-0308fc621914ba424705d188dc4a58006edb3472.tar.gz
focaccia-qemu-0308fc621914ba424705d188dc4a58006edb3472.zip
target/riscv: Allow debugger to access {h, s}stateen CSRs
At present {h,s}stateen CSRs are not reported in the CSR XML
hence gdb cannot access them.

Fix it by adjusting their predicate() routine logic so that the
static config check comes before the run-time check, as well as
adding a debugger check.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Message-ID: <20230228104035.1879882-16-bmeng@tinylab.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/tracetool/transform.py')
0 files changed, 0 insertions, 0 deletions