X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fmmix-dis.c;h=89a4cd920144b32e3330c1c54a4a86e3592df90d;hb=e90426589d7c783b7e458162baaac1431fc33bd5;hp=6ec50bf27d26d245af72210520453c9e32936ff4;hpb=2571583aed598dd3f9651b53434e5f177a0e3cf7;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/mmix-dis.c b/opcodes/mmix-dis.c index 6ec50bf27d..89a4cd9201 100644 --- a/opcodes/mmix-dis.c +++ b/opcodes/mmix-dis.c @@ -1,5 +1,5 @@ /* mmix-dis.c -- Disassemble MMIX instructions. - Copyright (C) 2000-2017 Free Software Foundation, Inc. + Copyright (C) 2000-2018 Free Software Foundation, Inc. Written by Hans-Peter Nilsson (hp@bitrange.com) This file is part of the GNU opcodes library. @@ -22,29 +22,28 @@ #include "sysdep.h" #include #include "opcode/mmix.h" -#include "dis-asm.h" +#include "disassemble.h" #include "libiberty.h" #include "bfd.h" #include "opintl.h" -#define BAD_CASE(x) \ - do \ - { \ - fprintf (stderr, \ - _("Bad case %d (%s) in %s:%d\n"), \ - x, #x, __FILE__, __LINE__); \ - abort (); \ - } \ +#define BAD_CASE(x) \ + do \ + { \ + opcodes_error_handler (_("bad case %d (%s) in %s:%d"), \ + x, #x, __FILE__, __LINE__); \ + abort (); \ + } \ while (0) -#define FATAL_DEBUG \ - do \ - { \ - fprintf (stderr, \ - _("Internal: Non-debugged code (test-case missing): %s:%d"),\ - __FILE__, __LINE__); \ - abort (); \ - } \ +#define FATAL_DEBUG \ + do \ + { \ + opcodes_error_handler (_("internal: non-debugged code " \ + "(test-case missing): %s:%d"), \ + __FILE__, __LINE__); \ + abort (); \ + } \ while (0) #define ROUND_MODE(n) \