Rename bitfields to avoid conflict with macro names in new opcode/sparc.h.
authorJohn Gilmore <gnu@cygnus>
Thu, 2 Jan 1992 23:09:53 +0000 (23:09 +0000)
committerJohn Gilmore <gnu@cygnus>
Thu, 2 Jan 1992 23:09:53 +0000 (23:09 +0000)
gdb/ChangeLog
gdb/sparc-pinsn.c

index c4302dc52470357c657c6738e5bf21f019fda5ed..4ebde46048285033447d43a2af89e817a6f5f508 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jan  2 15:07:41 1992  John Gilmore  (gnu at cygnus.com)
+
+       * sparc-pinsn.c:  Rename bitfields that overlap with macro names
+       in ../include/opcode/sparc.h.
+
 Wed Jan  1 04:29:00 1992  Fred Fish  (fnf at cygnus.com)
 
        * Makefile.in:  Change tm-svr4.h to tm-sysv4.h.  Change xm-svr4.h
index 36dad5ac33944aa58f79d839442390188c0ee9bd..ba2237b575ba73946ef5f0c98df5e152d469d3db 100644 (file)
@@ -34,29 +34,29 @@ union sparc_insn
     unsigned long int code;
     struct
       {
-       unsigned int OP:2;
-#define        op      ldst.OP
-       unsigned int RD:5;
-#define        rd      ldst.RD
+       unsigned int anop:2;
+#define        op      ldst.anop
+       unsigned int anrd:5;
+#define        rd      ldst.anrd
        unsigned int op3:6;
-       unsigned int RS1:5;
-#define        rs1     ldst.RS1
+       unsigned int anrs1:5;
+#define        rs1     ldst.anrs1
        unsigned int i:1;
-       unsigned int ASI:8;
-#define        asi     ldst.ASI
-       unsigned int RS2:5;
-#define        rs2     ldst.RS2
+       unsigned int anasi:8;
+#define        asi     ldst.anasi
+       unsigned int anrs2:5;
+#define        rs2     ldst.anrs2
 #define        shcnt   rs2
       } ldst;
     struct
       {
-       unsigned int OP:2, RD:5, op3:6, RS1:5, i:1;
+       unsigned int anop:2, anrd:5, op3:6, anrs1:5, i:1;
        unsigned int IMM13:13;
 #define        imm13   IMM13.IMM13
       } IMM13;
     struct
       {
-       unsigned int OP:2;
+       unsigned int anop:2;
        unsigned int a:1;
        unsigned int cond:4;
        unsigned int op2:3;
@@ -66,9 +66,9 @@ union sparc_insn
 #define        imm22   disp22
     struct
       {
-       unsigned int OP:2;
-       unsigned int DISP30:30;
-#define        disp30  call.DISP30
+       unsigned int anop:2;
+       unsigned int adisp30:30;
+#define        disp30  call.adisp30
       } call;
   };
 
This page took 0.029432 seconds and 4 git commands to generate.