public inbox for binutils-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Re: opcodes/arc: Implement style support in the disassembler
@ 2022-07-20  3:20 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2022-07-20  3:20 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1bc99604e84163fc3d749866ee9819d5aa22c28e

commit 1bc99604e84163fc3d749866ee9819d5aa22c28e
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Jul 20 12:47:38 2022 +0930

    Re: opcodes/arc: Implement style support in the disassembler
    
            * arc-dis.c (print_insn_arc): Fix thinko.

Diff:
---
 opcodes/arc-dis.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opcodes/arc-dis.c b/opcodes/arc-dis.c
index dbaa96178a8..3490bad4f66 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);
 	    }
 	}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-20  3:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-20  3:20 [binutils-gdb] Re: opcodes/arc: Implement style support in the disassembler Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).