Missed some stuff last time.

Also, recognize constructors specially in gdb_mangle_name().
This commit is contained in:
Per Bothner 1991-12-28 19:37:55 +00:00
parent e0982afeae
commit a3723a4352
2 changed files with 9 additions and 1 deletions

View File

@ -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()

View File

@ -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: