Regen opcodes/bpf-desc.c
[deliverable/binutils-gdb.git] / opcodes / disassemble.c
index d49a2b857df063b1100f1989ae85ebc57b994afa..25816efb56cc823f2a10c70daa5bc48ada1b6209 100644 (file)
@@ -21,7 +21,7 @@
 #include "sysdep.h"
 #include "disassemble.h"
 #include "safe-ctype.h"
-#include <assert.h>
+#include "opintl.h"
 
 #ifdef ARCH_all
 #define ARCH_aarch64
@@ -832,3 +832,11 @@ disassembler_options_cmp (const char *s1, const char *s2)
 
   return c1 - c2;
 }
+
+void
+opcodes_assert (const char *file, int line)
+{
+  opcodes_error_handler (_("assertion fail %s:%d"), file, line);
+  opcodes_error_handler (_("Please report this bug"));
+  abort ();
+}
This page took 0.023945 seconds and 4 git commands to generate.