[PATCH 0/4 for 9.0] Clean-up disassembler handling for plugins

Alex Bennée posted 4 patches 8 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240304191337.3101411-1-alex.bennee@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <Alistair.Francis@wdc.com>, Song Gao <gaosong@loongson.cn>
include/disas/dis-asm.h  |  7 +++++++
disas/disas.c            |  1 +
disas/hppa.c             |  8 +++++---
disas/riscv.c            | 28 +++++++++++++++-------------
target/loongarch/disas.c | 13 +++++++++----
5 files changed, 37 insertions(+), 20 deletions(-)
[PATCH 0/4 for 9.0] Clean-up disassembler handling for plugins
Posted by Alex Bennée 8 months, 3 weeks ago
I was overly optimistic with my last RFC that HPPA was the only
affected architecture by this issue. I've introduced a new flag in
disassemble_info and fixed up those arches that include raw bytes by
default.

It would be nice to get this in for 9.0

Alex.

Alex Bennée (4):
  disas: introduce no_raw_bytes
  disas/hppa: honour no_raw_bytes
  target/loongarch: honour no_raw_bytes when disassembling
  target/riscv: honour no_raw_bytes when disassembling

 include/disas/dis-asm.h  |  7 +++++++
 disas/disas.c            |  1 +
 disas/hppa.c             |  8 +++++---
 disas/riscv.c            | 28 +++++++++++++++-------------
 target/loongarch/disas.c | 13 +++++++++----
 5 files changed, 37 insertions(+), 20 deletions(-)

-- 
2.39.2