diff options
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 1c762ad..02d6848 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -951,11 +951,7 @@ buildsym_compunit::end_compunit_symtab_with_blockvector cu->set_producer (m_producer); cu->set_blockvector (blockvector); - { - struct block *b = blockvector->global_block (); - - b->set_compunit_symtab (cu); - } + blockvector->global_block ()->set_compunit (cu); cu->set_macro_table (release_macros ()); |