OSDN Git Service

* dwarf2read.c (dwarf2_tmp_obstack, dwarf2_free_tmp_obstack):
authorDaniel Jacobowitz <dan@debian.org>
Mon, 19 Apr 2004 18:20:50 +0000 (18:20 +0000)
committerDaniel Jacobowitz <dan@debian.org>
Mon, 19 Apr 2004 18:20:50 +0000 (18:20 +0000)
commit143730744a688a7ec2c86629e9f9865ae8c00373
treee5d5b719c91222c25876b1ec03c447e29baadfcc
parentcdbaae24482d78cdfb1d2b22bf87eaa424763862
* 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