Re: H8300 use of uninitialised value
[deliverable/binutils-gdb.git] / opcodes / disassemble.h
index 945508519a849658601e2d3c026f79dad3bb03b8..89db88640572c20e48d89a450d546973f3623f8b 100644 (file)
@@ -1,6 +1,6 @@
 /* Header only used inside opcodes library for disassemble.
 
-   Copyright (C) 2017-2019 Free Software Foundation, Inc.
+   Copyright (C) 2017-2020 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -103,4 +103,10 @@ extern int print_insn_z8002                (bfd_vma, disassemble_info *);
 
 extern disassembler_ftype csky_get_disassembler (bfd *);
 extern disassembler_ftype rl78_get_disassembler (bfd *);
+
+extern void ATTRIBUTE_NORETURN opcodes_assert (const char *, int);
+
+#define OPCODES_ASSERT(x) \
+  do { if (!(x)) opcodes_assert (__FILE__, __LINE__); } while (0)
+
 #endif /* DISASSEMBLE_H */
This page took 0.023207 seconds and 4 git commands to generate.