* dwarf2read.c (dwarf2_tmp_obstack, dwarf2_free_tmp_obstack):
authorDaniel Jacobowitz <drow@false.org>
Mon, 19 Apr 2004 18:20:50 +0000 (18:20 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 19 Apr 2004 18:20:50 +0000 (18:20 +0000)
commit7b5a2f43eb2fcc8608986a1a24b0c879269e010d
tree99649750b355cf5128900efdd15e5ea5d873aee4
parent05cf31d198b562b133286f6dacec4b92a4692079
* dwarf2read.c (dwarf2_tmp_obstack, dwarf2_free_tmp_obstack):
Delete.
(dwarf_alloc_block): Take a CU argument.  Use the comp_unit_obstack.
(read_attribute_value): Update calls to dwarf_alloc_block.
(dwarf2_build_psymtabs_hard): Don't initialize or clean up
dwarf2_tmp_obstack.
(psymtab_to_symtab_1): Likewise.  Clean up using
free_stack_comp_unit.
(add_to_cu_func_list): Use the comp_unit_obstack.
gdb/ChangeLog
gdb/dwarf2read.c