aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-12-29 18:01:29 +0000
committerFred Fish <fnf@specifix.com>1996-12-29 18:01:29 +0000
commita79d0193ecec8fb0032d2511233cd04ee805b326 (patch)
tree9efd99739b13d3bae960cd58ee65260255b6f456 /opcodes
parent5a608f5bf167e4f229ed43ce1a1208b29dd99332 (diff)
downloadgdb-a79d0193ecec8fb0032d2511233cd04ee805b326.zip
gdb-a79d0193ecec8fb0032d2511233cd04ee805b326.tar.gz
gdb-a79d0193ecec8fb0032d2511233cd04ee805b326.tar.bz2
* Makefile.in (ALL_MACHINES): Add tic80-dis.o and tic80-opc.o.
* disassemble.c (ARCH_tic80): Define if ARCH_all is defined. (disassembler): Add bfd_arch_tic80 support to set disassemble to print_insn_tic80. * tic80-dis.c (print_insn_tic80): Add stub.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/.Sanitize2
-rw-r--r--opcodes/ChangeLog8
-rw-r--r--opcodes/Makefile.in15
-rw-r--r--opcodes/tic80-dis.c14
4 files changed, 36 insertions, 3 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize
index 1de8cfe..ed1a58a 100644
--- a/opcodes/.Sanitize
+++ b/opcodes/.Sanitize
@@ -191,7 +191,7 @@ else
done
fi
-tic80_files="ChangeLog configure.in configure"
+tic80_files="ChangeLog Makefile.in configure.in configure disassemble.c"
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
for i in $tic80_files ; do
if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 1865253..dee454c 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,4 +1,12 @@
start-sanitize-tic80
+Sun Dec 29 10:58:22 1996 Fred Fish <fnf@cygnus.com>
+
+ * Makefile.in (ALL_MACHINES): Add tic80-dis.o and tic80-opc.o.
+ * disassemble.c (ARCH_tic80): Define if ARCH_all is defined.
+ (disassembler): Add bfd_arch_tic80 support to set disassemble
+ to print_insn_tic80.
+ * tic80-dis.c (print_insn_tic80): Add stub.
+
Fri Dec 27 22:30:57 1996 Fred Fish <fnf@cygnus.com>
* configure.in (arch in $selarchs): Add bfd_tic80_arch entry.
diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in
index b2cf018..4cd8a2c 100644
--- a/opcodes/Makefile.in
+++ b/opcodes/Makefile.in
@@ -80,9 +80,19 @@ ALL_MACHINES = a29k-dis.o alpha-dis.o alpha-opc.o h8300-dis.o h8500-dis.o \
$(start-sanitize-arc) \
arc-dis.o arc-opc.o \
$(end-sanitize-arc) \
+ $(start-sanitize-d10v) \
+ d10v-dis.o d10v-opc.o \
+ $(end-sanitize-d10v) \
hppa-dis.o i386-dis.o i960-dis.o m68k-dis.o m68k-opc.o \
- m88k-dis.o mips-dis.o mips-opc.o sh-dis.o sparc-dis.o \
- sparc-opc.o z8k-dis.o ns32k-dis.o ppc-dis.o ppc-opc.o \
+ m88k-dis.o mn10200-dis.o mn10200-opc.o mn10300-dis.o \
+ mn10300-opc.o mips-dis.o mips-opc.o mips16-opc.o sh-dis.o \
+ sparc-dis.o sparc-opc.o z8k-dis.o ns32k-dis.o ppc-dis.o ppc-opc.o \
+ $(start-sanitize-v850) \
+ v850-dis.o v850-opc.o \
+ $(end-sanitize-v850) \
+ $(start-sanitize-tic80) \
+ tic80-dis.o tic80-opc.o \
+ $(end-sanitize-tic80) \
arm-dis.o w65-dis.o
OFILES = @BFD_MACHINES@ dis-buf.o disassemble.o
@@ -209,6 +219,7 @@ m68k-dis.o: m68k-dis.c $(INCDIR)/dis-asm.h $(INCDIR)/floatformat.h \
m68k-opc.o: m68k-opc.c $(INCDIR)/dis-asm.h $(INCDIR)/opcode/m68k.h
mips-dis.o: mips-dis.c $(INCDIR)/dis-asm.h $(INCDIR)/opcode/mips.h
mips-opc.o: mips-opc.c $(INCDIR)/opcode/mips.h
+mips16-opc.o: mips16-opc.c $(INCDIR)/opcode/mips.h
ppc-dis.o: ppc-dis.c $(INCDIR)/dis-asm.h $(INCDIR)/opcode/ppc.h
ppc-opc.o: ppc-opc.c $(INCDIR)/opcode/ppc.h
sparc-dis.o: sparc-dis.c $(INCDIR)/dis-asm.h $(INCDIR)/opcode/sparc.h
diff --git a/opcodes/tic80-dis.c b/opcodes/tic80-dis.c
index 6aad5b7..d78d676 100644
--- a/opcodes/tic80-dis.c
+++ b/opcodes/tic80-dis.c
@@ -14,3 +14,17 @@ 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+#include <stdio.h>
+
+#include "ansidecl.h"
+#include "opcode/tic80.h"
+#include "dis-asm.h"
+
+int
+print_insn_tic80 (memaddr, info)
+ bfd_vma memaddr;
+ struct disassemble_info *info;
+{
+ abort ();
+}