diff options
author | Yang Liu <liuyang22@iscas.ac.cn> | 2024-01-14 01:20:59 +0800 |
---|---|---|
committer | Yang Liu <liuyang22@iscas.ac.cn> | 2024-01-14 01:20:59 +0800 |
commit | b273287f4e7f111c1bb667267c6bde4fdd8418c7 (patch) | |
tree | e5dc11566d8bb3fa89a7f94fefda91c7dc321e12 /include/plugin-api.h | |
parent | 7de143103d299ea3063be80f0c184187d665f091 (diff) | |
download | gdb-b273287f4e7f111c1bb667267c6bde4fdd8418c7.zip gdb-b273287f4e7f111c1bb667267c6bde4fdd8418c7.tar.gz gdb-b273287f4e7f111c1bb667267c6bde4fdd8418c7.tar.bz2 |
gdb: RISC-V: Refine lr/sc sequence support
Per RISC-V spec, the lr/sc sequence can consist of up to 16 instructions, and we
cannot insert breakpoints in the middle of this sequence. Before this, we only
detected a specific pattern (the most common one). This patch improves this part
and now supports more complex pattern detection.
Signed-off-by: Yang Liu <liuyang22@iscas.ac.cn>
Approved-By: Andrew Burgess <aburgess@redhat.com>
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'include/plugin-api.h')
0 files changed, 0 insertions, 0 deletions