Missed some stuff last time.
authorPer Bothner <per@bothner.com>
Sat, 28 Dec 1991 19:37:55 +0000 (19:37 +0000)
committerPer Bothner <per@bothner.com>
Sat, 28 Dec 1991 19:37:55 +0000 (19:37 +0000)
Also, recognize constructors specially in gdb_mangle_name().

gdb/ChangeLog
gdb/dwarfread.c

index e2a812af71922cee3595234b7bab4fb0c6a12cc1..b7d62a78076ca28ea68582d327e01d33d1445acf 100644 (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()
index 780e0c3d1e43145a35e30d068b9ca061dd1cb2df..c43330d4d8b9456b6a0237d3569d0a9f9cae9940 100644 (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: