[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 27/29] disas/hppa: honour show_opcodes
From: |
Alex Bennée |
Subject: |
[PATCH 27/29] disas/hppa: honour show_opcodes |
Date: |
Tue, 5 Mar 2024 12:10:03 +0000 |
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
disas/hppa.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/disas/hppa.c b/disas/hppa.c
index 22dce9b41bb..49e2231ae62 100644
--- a/disas/hppa.c
+++ b/disas/hppa.c
@@ -1972,9 +1972,11 @@ print_insn_hppa (bfd_vma memaddr, disassemble_info *info)
insn = bfd_getb32 (buffer);
- info->fprintf_func(info->stream, " %02x %02x %02x %02x ",
- (insn >> 24) & 0xff, (insn >> 16) & 0xff,
- (insn >> 8) & 0xff, insn & 0xff);
+ if (info->show_opcodes) {
+ info->fprintf_func(info->stream, " %02x %02x %02x %02x ",
+ (insn >> 24) & 0xff, (insn >> 16) & 0xff,
+ (insn >> 8) & 0xff, insn & 0xff);
+ }
for (i = 0; i < NUMOPCODES; ++i)
{
--
2.39.2
- [PATCH 26/29] disas: introduce show_opcodes, (continued)
- [PATCH 26/29] disas: introduce show_opcodes, Alex Bennée, 2024/03/05
- [PATCH 18/29] tests/plugin: add test plugin for inline operations, Alex Bennée, 2024/03/05
- [PATCH 22/29] contrib/plugins/hotblocks: migrate to new per_vcpu API, Alex Bennée, 2024/03/05
- [PATCH 28/29] target/loongarch: honour show_opcodes when disassembling, Alex Bennée, 2024/03/05
- [PATCH 25/29] plugins: cleanup codepath for previous inline operation, Alex Bennée, 2024/03/05
- [PATCH 21/29] tests/plugin/bb: migrate to new per_vcpu API, Alex Bennée, 2024/03/05
- [PATCH 24/29] plugins: remove non per_vcpu inline operation from API, Alex Bennée, 2024/03/05
- [PATCH 19/29] tests/plugin/mem: migrate to new per_vcpu API, Alex Bennée, 2024/03/05
- [PATCH 27/29] disas/hppa: honour show_opcodes,
Alex Bennée <=
- [PATCH 20/29] tests/plugin/insn: migrate to new per_vcpu API, Alex Bennée, 2024/03/05