Patchwork [10/12] tcg-sparc: Dump illegal opode contents

login
register
mail settings
Submitter Richard Henderson
Date Sept. 27, 2012, 1:55 a.m.
Message ID <1348710942-3040-11-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/187265/
State New
Headers show

Comments

Richard Henderson - Sept. 27, 2012, 1:55 a.m.
Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 sparc-dis.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/sparc-dis.c b/sparc-dis.c
index cdd337a..1d017fa 100644
--- a/sparc-dis.c
+++ b/sparc-dis.c
@@ -3270,6 +3270,6 @@  print_insn_sparc (bfd_vma memaddr, disassemble_info *info)
     }
 
   info->insn_type = dis_noninsn;        /* Mark as non-valid instruction.  */
-  (*info->fprintf_func) (stream, _("unknown"));
+  (*info->fprintf_func) (stream, ".long %#08lx", insn);
   return sizeof (buffer);
 }