Re: [PATCH v3 1/3] [sim/riscv] Fix crash during instruction decoding

Mike Frysinger
2023-12-18T16:27:08Z

[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

On 17 Dec 2023 06:52, jaydeep.patil@imgtec.com wrote:
> 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.

the opcodes code is still doing:
if (! (op->match_func) (op, word))
-mike

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]