* stabsread.c (rs6000_builtin_type): Recognize types -31 to -34.
authorJim Kingdon <jkingdon@engr.sgi.com>
Thu, 16 Mar 1995 20:37:09 +0000 (20:37 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Thu, 16 Mar 1995 20:37:09 +0000 (20:37 +0000)
gdb/ChangeLog
gdb/stabsread.c

index bb490a357e1e63c7126df3f3cefc84f948fbd6da..9fc97f1069ef2e49a2924c2ffe0d3ae46564a93f 100644 (file)
@@ -1,3 +1,7 @@
+Thu Mar 16 12:14:41 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * stabsread.c (rs6000_builtin_type): Recognize types -31 to -34.
+
 Wed Mar 15 15:09:29 1995  Stu Grossman  (grossman@cygnus.com)
 
        * findvar.c (read_register_bytes write_register_bytes):  Make
index be281bff20b6648f67545cc0499407c48a7fb6c1..66488f8e735e35a335ff2affeca2ad3c6f626c53 100644 (file)
@@ -1774,7 +1774,7 @@ rs6000_builtin_type (typenum)
      int typenum;
 {
   /* We recognize types numbered from -NUMBER_RECOGNIZED to -1.  */
-#define NUMBER_RECOGNIZED 30
+#define NUMBER_RECOGNIZED 34
   /* This includes an empty slot for type number -0.  */
   static struct type *negative_types[NUMBER_RECOGNIZED + 1];
   struct type *rettype = NULL;
@@ -1908,6 +1908,20 @@ rs6000_builtin_type (typenum)
     case 30:
       rettype = init_type (TYPE_CODE_CHAR, 2, 0, "wchar", NULL);
       break;
+    case 31:
+      rettype = init_type (TYPE_CODE_INT, 8, 0, "long long", NULL);
+      break;
+    case 32:
+      rettype = init_type (TYPE_CODE_INT, 8, TYPE_FLAG_UNSIGNED,
+                          "unsigned long long", NULL);
+      break;
+    case 33:
+      rettype = init_type (TYPE_CODE_INT, 8, TYPE_FLAG_UNSIGNED,
+                          "logical*8", NULL);
+      break;
+    case 34:
+      rettype = init_type (TYPE_CODE_INT, 8, 0, "integer*8", NULL);
+      break;
     }
   negative_types[-typenum] = rettype;
   return rettype;