From: Per Bothner Date: Sat, 28 Dec 1991 19:37:55 +0000 (+0000) Subject: Missed some stuff last time. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a3723a4352af43de8fd0bf30fd495dfb882f7067;p=binutils-gdb.git Missed some stuff last time. Also, recognize constructors specially in gdb_mangle_name(). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e2a812af719..b7d62a78076 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 780e0c3d1e4..c43330d4d8b 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: