aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-04 03:17:46 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-04 03:17:46 +0000
commit5b0a744f98759f3b51b4362f25b497d0da9c16d1 (patch)
tree1053ce7bd3664d36950836793817a70e00f7ad38 /gdb/dbxread.c
parentf7cfc4a6a9dfbcae9de5fb9b770cc7bccb5cfb8c (diff)
downloadgdb-5b0a744f98759f3b51b4362f25b497d0da9c16d1.zip
gdb-5b0a744f98759f3b51b4362f25b497d0da9c16d1.tar.gz
gdb-5b0a744f98759f3b51b4362f25b497d0da9c16d1.tar.bz2
* c-exp.y: sym->class to SYMBOL_CLASS (sym).
* dbxread.c (dbx_lookup_type): Keep doubling size of typevector until it is large enough.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index d5ebb39..c201f43 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -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 *)