From 007d2fe43e27fa38a0bc1e22c5f5fb4ee945830d Mon Sep 17 00:00:00 2001 From: John Darrington Date: Mon, 1 Oct 2018 11:24:15 +0200 Subject: [PATCH] Make print_insn_s12z public. Gdb can use this function in its stack unwinder. * include/dis-asm.h (print_insn_s12z): Add declaration. --- include/ChangeLog | 4 ++++ include/dis-asm.h | 1 + 2 files changed, 5 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index 98d42416813..a36555386e0 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2018-10-03 John Darrington + + * dis-asm.h (print_insn_s12z): New declaration. + 2018-10-02 Palmer Dabbelt * opcode/riscv-opc.h (MATCH_FENCE_TSO): New define. diff --git a/include/dis-asm.h b/include/dis-asm.h index c46380b42c3..84627950c02 100644 --- a/include/dis-asm.h +++ b/include/dis-asm.h @@ -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 *); -- 2.30.2