aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
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 *)