aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-07-20 12:47:38 +0930
committerAlan Modra <amodra@gmail.com>2022-07-20 12:47:38 +0930
commit1bc99604e84163fc3d749866ee9819d5aa22c28e (patch)
treeaba70a9ec7b7622abbec26a634ad28193c023e40
parentffd29c9c21422ddacdd66ead68ee060ac01a28c5 (diff)
downloadgdb-1bc99604e84163fc3d749866ee9819d5aa22c28e.zip
gdb-1bc99604e84163fc3d749866ee9819d5aa22c28e.tar.gz
gdb-1bc99604e84163fc3d749866ee9819d5aa22c28e.tar.bz2
Re: opcodes/arc: Implement style support in the disassembler
* arc-dis.c (print_insn_arc): Fix thinko.
-rw-r--r--opcodes/arc-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/arc-dis.c b/opcodes/arc-dis.c
index dbaa961..3490bad 100644
--- a/opcodes/arc-dis.c
+++ b/opcodes/arc-dis.c
@@ -1408,7 +1408,7 @@ print_insn_arc (bfd_vma memaddr,
"%s", rname);
else
(*info->fprintf_styled_func) (info->stream, dis_style_immediate,
- "%" PRIx32, value);
+ "%#x", value);
}
}