diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e2a812af71..b7d62a7807 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +Sat Dec 28 11:30:26 1991 Per Bothner (bothner at cygnus.com) + + * dwarfread.c, coffread.c: Use INIT_CPLUS_SPECIFIC. + * symtab.c (gdb_mangle_name): Recognize and handle + constructors specially. + * symtab.c (check_stub_method): Test for failure from + cplus-demangle by calling error() instead of seg-faulting ... + Fri Dec 27 22:21:30 1991 Fred Fish (fnf at cygnus.com) * defs.h: Add definition of null_cleanup() diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c index 780e0c3d1e..c43330d4d8 100644 --- a/gdb/dwarfread.c +++ b/gdb/dwarfread.c @@ -907,7 +907,7 @@ DEFUN(struct_type, (dip, thisdie, enddie, objfile), /* No forward references created an empty type, so install one now */ type = alloc_utype (dip -> dieref, NULL); } - TYPE_CPLUS_SPECIFIC(type) = &cplus_struct_default; + INIT_CPLUS_SPECIFIC(type); switch (dip -> dietag) { case TAG_structure_type: