aboutsummaryrefslogtreecommitdiff
path: root/opcodes/visium-opc.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2014-12-06 16:25:55 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2014-12-06 16:25:55 +0100
commit1945cfa59de0a6093011891e1974ac2b6d25658f (patch)
treee5ce6439d91746f66df8e2b49241690fa244d58c /opcodes/visium-opc.c
parentbb5f7690917fd192b98c2fcace1884252c5f6f02 (diff)
downloadgdb-1945cfa59de0a6093011891e1974ac2b6d25658f.zip
gdb-1945cfa59de0a6093011891e1974ac2b6d25658f.tar.gz
gdb-1945cfa59de0a6093011891e1974ac2b6d25658f.tar.bz2
Add Visium support to opcodes
include/ * dis-asm.h (print_insn_visium): Declare. include/opcode/ * visium.h: New file. opcodes/ * configure.ac: Add Visium support. * configure: Regenerate. * Makefile.am (TARGET_LIBOPCODES_CFILES): Add visium-dis.c and visium-opc.c. * Makefile.in: Regenerate. * disassemble.c (ARCH_visium): Define if ARCH_all. (disassembler): Deal with bfd_arch_visium if ARCH_visium. * visium-dis.c: New file. * visium-opc.c: Likewise. * po/POTFILES.in: Regenerate.
Diffstat (limited to 'opcodes/visium-opc.c')
-rw-r--r--opcodes/visium-opc.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/opcodes/visium-opc.c b/opcodes/visium-opc.c
new file mode 100644
index 0000000..742452c
--- /dev/null
+++ b/opcodes/visium-opc.c
@@ -0,0 +1,23 @@
+/* Opcode table for the Visium.
+
+ Copyright (C) 2002-2014 Free Software Foundation, Inc.
+
+ This file is part of the GNU opcodes library.
+
+ This library is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3, or (at your option)
+ any later version.
+
+ It is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+ License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
+
+#include "ansidecl.h"
+#include "opcode/visium.h"