* c-exp.y: sym->class to SYMBOL_CLASS (sym).
authorJohn Gilmore <gnu@cygnus>
Fri, 4 Oct 1991 03:17:46 +0000 (03:17 +0000)
committerJohn Gilmore <gnu@cygnus>
Fri, 4 Oct 1991 03:17:46 +0000 (03:17 +0000)
* dbxread.c (dbx_lookup_type):  Keep doubling size of typevector
until it is large enough.

gdb/ChangeLog
gdb/c-exp.y
gdb/dbxread.c

index e99709572fef5b180c84aee7e69ff98e11286c51..ac296d12ca7c57dcfe47800fc5c8bc3d2455af51 100644 (file)
@@ -1,5 +1,10 @@
 Thu Oct  3 09:33:26 1991  John Gilmore  (gnu at cygnus.com)
 
+       * c-exp.y:  sym->class to SYMBOL_CLASS (sym).
+
+       * dbxread.c (dbx_lookup_type):  Keep doubling size of typevector
+       until it is large enough.    
+
        * dbxread.c (read_type):  Handle error case slightly better.
        Make complaint message not C++-specific.
 
index a16c580107515885f2157819e1b46d7ad30d749c..b243e5cb51c95b87bbd8f550087fda7bb4329ef4 100644 (file)
@@ -608,7 +608,7 @@ variable:   name_not_typename
 
                          if (sym)
                            {
-                             switch (sym->class)
+                             switch (SYMBOL_CLASS (sym))
                                {
                                case LOC_REGISTER:
                                case LOC_ARG:
index d5ebb39fa9a9aac93fc7c7719bcb7c39d0d13887..c201f43f8e995c0b447efb0d23a219ec81c5fc58 100644 (file)
@@ -626,7 +626,7 @@ dbx_lookup_type (typenums)
     {
       /* Type is defined outside of header files.
         Find it in this object file's type vector.  */
-      if (index >= type_vector_length)
+      while (index >= type_vector_length)
        {
          type_vector_length *= 2;
          type_vector = (struct typevector *)