diff options
author | Jaydeep Patil <jaydeep.patil@imgtec.com> | 2024-01-11 05:28:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-22 20:16:27 -0500 |
commit | b783d068d969b5422ce60ecc6968a1a35ee92a7e (patch) | |
tree | 9d2c2de089744bea934a815777fea4f409742b14 /libiberty/cp-demangle.h | |
parent | 8fed036befd8e87e9a602a5fc926db30aad69af3 (diff) | |
download | gdb-b783d068d969b5422ce60ecc6968a1a35ee92a7e.zip gdb-b783d068d969b5422ce60ecc6968a1a35ee92a7e.tar.gz gdb-b783d068d969b5422ce60ecc6968a1a35ee92a7e.tar.bz2 |
sim: riscv: Fix crash during instruction decoding
The match_never() function has been removed and thus step_once() crashes
during instruction decoding. Fixed it by checking for null pointer before
invoking function attached to match_func member of riscv_opcode structure
Diffstat (limited to 'libiberty/cp-demangle.h')
0 files changed, 0 insertions, 0 deletions