* config.bfd: Add powerpc64 target. Add powerpc64 vectors to
[deliverable/binutils-gdb.git] / gdb / stabsread.c
index bba3d094031a727ed90a3baa3fa971b0aa0b6a63..87cf76801c313b931eb30a14ba07f4f4039f8f15 100644 (file)
@@ -43,6 +43,7 @@
 #include "complaints.h"
 #include "demangle.h"
 #include "language.h"
+#include "doublest.h"
 
 #include <ctype.h>
 
@@ -2585,7 +2586,7 @@ again:
       if (type_descriptor == 'c' && !os9k_stabs)
        return error_type (pp, objfile);
       type = read_type (pp, objfile);
-      /* FIXME! For now, we ignore const and volatile qualifiers.  */
+      type = make_cv_type (1, TYPE_VOLATILE (type), type, 0);
       break;
 
     case 'B':                  /* Volatile qual on some type (Sun) */
@@ -2595,7 +2596,7 @@ again:
       if (type_descriptor == 'i' && !os9k_stabs)
        return error_type (pp, objfile);
       type = read_type (pp, objfile);
-      /* FIXME! For now, we ignore const and volatile qualifiers.  */
+      type = make_cv_type (TYPE_CONST (type), 1, type, 0);
       break;
 
     case '@':
@@ -3264,8 +3265,13 @@ read_cpp_abbrev (struct field_info *fip, char **pp, struct type *type,
       switch (cpp_abbrev)
        {
        case 'f':               /* $vf -- a virtual function table pointer */
+         name = type_name_no_tag (context);
+         if (name == NULL)
+         {
+                 name = "";
+         }
          fip->list->field.name =
-           obconcat (&objfile->type_obstack, vptr_name, "", "");
+           obconcat (&objfile->type_obstack, vptr_name, name, "");
          break;
 
        case 'b':               /* $vb -- a virtual bsomethingorother */
This page took 0.02446 seconds and 4 git commands to generate.