aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Darrington <john@darrington.wattle.id.au>2018-10-01 11:24:15 +0200
committerJohn Darrington <john@darrington.wattle.id.au>2018-10-03 10:43:02 +0200
commit007d2fe43e27fa38a0bc1e22c5f5fb4ee945830d (patch)
treed9351b31ac5972d8c972d718c83087e65dd7549a /include
parent2398abf8bca3563ddab4bd41c710af8027fe2919 (diff)
downloadgdb-007d2fe43e27fa38a0bc1e22c5f5fb4ee945830d.zip
gdb-007d2fe43e27fa38a0bc1e22c5f5fb4ee945830d.tar.gz
gdb-007d2fe43e27fa38a0bc1e22c5f5fb4ee945830d.tar.bz2
Make print_insn_s12z public.
Gdb can use this function in its stack unwinder. * include/dis-asm.h (print_insn_s12z): Add declaration.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/dis-asm.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 98d4241..a365553 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -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.
diff --git a/include/dis-asm.h b/include/dis-asm.h
index c46380b..8462795 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 *);