aboutsummaryrefslogtreecommitdiff
path: root/gdb/convex-pinsn.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1993-02-04 10:30:19 +0000
committerJohn Gilmore <gnu@cygnus>1993-02-04 10:30:19 +0000
commitb076f024395078d117374d68e290cf200e9aef1a (patch)
tree4bf379a268489e4ec8dd2272e0a66b70e9fe2d5d /gdb/convex-pinsn.c
parenta69942c89b690e65a95f3be804ce8bb873c19faf (diff)
downloadgdb-b076f024395078d117374d68e290cf200e9aef1a.zip
gdb-b076f024395078d117374d68e290cf200e9aef1a.tar.gz
gdb-b076f024395078d117374d68e290cf200e9aef1a.tar.bz2
* Makefile.in (TARDIRS): Add sparclite demo dir.
(*.tab.c): Change dependency on Makefile to depend on Makefile.in, otherwise it always rebuilds after configuring. Force output *.tab.c file into current directory even in "make" versions that rewrite dependent file names used in command lines. * TODO: Remove some things we did. * am29k-opcode.h, convx-opcode: Remove; now in ../include/opcode. * os68k-xdep.c: Remove; useless file (os68k is a target only). * convex-pinsn.c: Use ../include/opcode/convex.h. Add CONST. * symtab.h: Eliminate unnamed unions and structs.
Diffstat (limited to 'gdb/convex-pinsn.c')
-rw-r--r--gdb/convex-pinsn.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/convex-pinsn.c b/gdb/convex-pinsn.c
index 0c95e36..8ceea68 100644
--- a/gdb/convex-pinsn.c
+++ b/gdb/convex-pinsn.c
@@ -1,5 +1,5 @@
/* Print Convex instructions for GDB, the GNU debugger.
- Copyright 1989, 1991 Free Software Foundation, Inc.
+ Copyright 1989, 1991, 1993 Free Software Foundation, Inc.
This file is part of GDB.
@@ -70,9 +70,9 @@ struct formstr {
unsigned i:5, j:5, k:2; /* operand formats */
};
-#include "convx-opcode.h"
+#include "opcode/convex.h"
-unsigned char formdecode [] = {
+CONST unsigned char formdecode [] = {
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
@@ -91,7 +91,7 @@ unsigned char formdecode [] = {
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
};
-struct opform opdecode[] = {
+CONST struct opform opdecode[] = {
0x7e00, 9, format0, e0_format0, e1_format0,
0x3f00, 8, format1, e0_format1, e1_format1,
0x1fc0, 6, format2, e0_format2, e1_format2,