]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* coffread.c (decode_type): Call alloc_type to alloc new
authorFred Fish <fnf@specifix.com>
Mon, 24 Aug 1992 00:13:11 +0000 (00:13 +0000)
committerFred Fish <fnf@specifix.com>
Mon, 24 Aug 1992 00:13:11 +0000 (00:13 +0000)
commitdac9734e5892a69910e8bc28f0983b05d99b6e3f
treefdce425624908bc728e0e9c6f580970a124293e7
parentca8820f938c1f65dbd767cd52a6df212b34f4ca3
* coffread.c (decode_type):  Call alloc_type to alloc new
types.
* stabsread.c (read_array_type, read_range_type, define_symbol):
Call alloc_type to alloc new types.
* stabsread.c (define_symbol):  Move dbl_valu symbol field data
from type_obstack to symbol_obstack.
* stabsread.c (define_symbol):  Move typedef_sym from type_obstack
to symbol_obstack.
* gdbtypes.h (TYPE_ALLOC):  New macro to allocate space for data
associated with a type, using the same mechanism as was used to
allocate space for the type structure itself.
* coffread.c (patch_type, coff_read_struct_type,
coff_read_enum_type):  Use TYPE_ALLOC.
* dwarfread.c (struct_type):  Use TYPE_ALLOC.
* gdbtypes.c (create_array_type, check_stub_method,
allocate_cplus_struct_type):  Use TYPE_ALLOC.
* mipsread.c (parse_symbol, parse_type):  Use TYPE_ALLOC.
* stabsread.c (read_struct_type, read_array_type, read_enum_type,
read_range_type):  Use TYPE_ALLOC.
gdb/ChangeLog
gdb/dwarfread.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/stabsread.c