disas/hppa: honour show_opcodes
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20240305121005.3528075-28-alex.bennee@linaro.org>
This commit is contained in:
parent
83b4613ba8
commit
7cff154b48
@ -1972,9 +1972,11 @@ print_insn_hppa (bfd_vma memaddr, disassemble_info *info)
|
|||||||
|
|
||||||
insn = bfd_getb32 (buffer);
|
insn = bfd_getb32 (buffer);
|
||||||
|
|
||||||
info->fprintf_func(info->stream, " %02x %02x %02x %02x ",
|
if (info->show_opcodes) {
|
||||||
(insn >> 24) & 0xff, (insn >> 16) & 0xff,
|
info->fprintf_func(info->stream, " %02x %02x %02x %02x ",
|
||||||
(insn >> 8) & 0xff, insn & 0xff);
|
(insn >> 24) & 0xff, (insn >> 16) & 0xff,
|
||||||
|
(insn >> 8) & 0xff, insn & 0xff);
|
||||||
|
}
|
||||||
|
|
||||||
for (i = 0; i < NUMOPCODES; ++i)
|
for (i = 0; i < NUMOPCODES; ++i)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user