Make print_insn_s12z public.
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 1 Oct 2018 09:24:15 +0000 (11:24 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 3 Oct 2018 08:43:02 +0000 (10:43 +0200)
Gdb can use this function in its stack unwinder.

* include/dis-asm.h (print_insn_s12z): Add declaration.

include/ChangeLog
include/dis-asm.h

index 98d4241681320e5cc1905e7b09f9598b607cb088..a36555386e0cecfd916bc27f5ab67140419fc215 100644 (file)
@@ -1,3 +1,7 @@
+2018-10-03  John Darrington <john@darrington.wattle.id.au>
+
+       * dis-asm.h (print_insn_s12z): New declaration.
+
 2018-10-02  Palmer Dabbelt  <palmer@sifive.com>
 
        * opcode/riscv-opc.h (MATCH_FENCE_TSO): New define.
index c46380b42c395a68c9671f1dbce08072b34444ad..84627950c0232e1d3ee54d6d4492bd4e12840a06 100644 (file)
@@ -277,6 +277,7 @@ typedef int (*disassembler_ftype) (bfd_vma, disassemble_info *);
 /* Disassemblers used out side of opcodes library.  */
 extern int print_insn_m32c             (bfd_vma, disassemble_info *);
 extern int print_insn_mep              (bfd_vma, disassemble_info *);
+extern int print_insn_s12z             (bfd_vma, disassemble_info *);
 extern int print_insn_sh               (bfd_vma, disassemble_info *);
 extern int print_insn_sparc            (bfd_vma, disassemble_info *);
 extern int print_insn_rx               (bfd_vma, disassemble_info *);