* buildsym.c (read_struct_type): Initialize structs allocated
authorFred Fish <fnf@specifix.com>
Tue, 21 Jul 1992 04:14:34 +0000 (04:14 +0000)
committerFred Fish <fnf@specifix.com>
Tue, 21 Jul 1992 04:14:34 +0000 (04:14 +0000)
commitc0f1085b5a94342421f2623a0c743b089195d734
tree668e7fb091fad0a68d51104bc57b032c67ac5ad8
parent4a2d5d0ef6f3e2e34260663fc9e321821db6dd2f
* buildsym.c (read_struct_type):  Initialize structs allocated
with alloca, to avoid using random values from stack later on.
* defs.h (fprintf_filtered):  Add prototype.
* gdbtypes.c (check_stub_method):  Fix misleading comments.
* gdbtypes.c (print_arg_types, dump_fn_fieldlists):  New maint
support functions.
* gdbtypes.c (print_cplus_stuff, recursive_dump_type):  Many
small changes to maint support functions.
* gdbtypes.h (cplus_struct_type):  Reorganize member ordering
for some fields and expand comments.
* objfiles.c (allocate_objfile):  Use new obstack_alloc_arg
macro and track change to obstack_full_begin macro.
* utils.c (fprintfi_filtered):  New function.
* valprint.c (type_print_base):  Fixup field printing to not
print extraneous lines and not print bogus "no data fields"
messages for C++ classes with no data members.  Also use new
fprintfi_filtered function.
gdb/ChangeLog
gdb/buildsym.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/objfiles.c