diff options
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r-- | gdb/coffread.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c index da871d5af11..c5e977330be 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -1476,12 +1476,11 @@ patch_type (struct type *type, struct type *real_type) static void patch_opaque_types (struct symtab *s) { - const struct block *b; struct block_iterator iter; struct symbol *real_sym; /* Go through the per-file symbols only. */ - b = BLOCKVECTOR_BLOCK (s->compunit ()->blockvector (), STATIC_BLOCK); + const struct block *b = s->compunit ()->blockvector ()->static_block (); ALL_BLOCK_SYMBOLS (b, iter, real_sym) { /* Find completed typedefs to use to fix opaque ones. |