2004-02-07 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Sat, 7 Feb 2004 16:57:55 +0000 (16:57 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Sat, 7 Feb 2004 16:57:55 +0000 (16:57 +0000)
commitb99607ea3cc204c613ef8acf0fce8bdffb7e89e7
tree2742cbb70d2f812e252bc1db36275b0c12ca2129
parent2a8854a78354414c75a91fbd662ee32f743dd510
2004-02-07  Elena Zannoni  <ezannoni@redhat.com>

        * objfiles.h (struct objfile): Add objfile_obstack field.
        Remove type_obstack field.

        * dwarf2read.c (dwarf2_add_field,dwarf2_add_member_fn,
        read_structure_scope read_enumeration, new_symbol): Replace
        type_obstack with objfile_obstack.
        * dwarfread.c (struct_type, enum_type): Ditto.
        * gdbtypes.c (alloc_type, alloc_type_instance, init_type)
        (lookup_fundamental_type): Ditto.
        * gdbtypes.h (TYPE_ALLOC): Ditto.
        * hpread.c (hpread_read_enum_type, hpread_read_function_type)
        (hpread_read_doc_function_type, hpread_read_struct_type)
        (fix_static_member_physnames, hpread_read_array_type)
        (hpread_read_subrange_type, hpread_type_lookup): Ditto.
        * jv-lang.c (java_lookup_class, type_from_class, type_from_class)
        (java_link_class_type): Ditto.
        * mdebugread.c (parse_type): Ditto.
        * objfiles.c (allocate_objfile, free_objfile): Ditto.
        * solib-sunos.c (solib_add_common_symbols): Ditto.
        * stabsread.c (define_symbol, read_type, read_member_functions,
        read_cpp_abbrev, read_one_struct_field): Ditto.
        * symfile.c (reread_symbols): Ditto.
        * symmisc.c (print_objfile_statistics): Ditto.
14 files changed:
gdb/ChangeLog
gdb/dwarf2read.c
gdb/dwarfread.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/hpread.c
gdb/jv-lang.c
gdb/mdebugread.c
gdb/objfiles.c
gdb/objfiles.h
gdb/solib-sunos.c
gdb/stabsread.c
gdb/symfile.c
gdb/symmisc.c