aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1991-12-28 19:37:55 +0000
committerPer Bothner <per@bothner.com>1991-12-28 19:37:55 +0000
commita3723a4352af43de8fd0bf30fd495dfb882f7067 (patch)
treebd040fae22b0aa9ae6f239420fe96f116f25c21f /gdb
parente0982afeaed8ba0af91e3295878e440a3b85acc3 (diff)
downloadgdb-a3723a4352af43de8fd0bf30fd495dfb882f7067.zip
gdb-a3723a4352af43de8fd0bf30fd495dfb882f7067.tar.gz
gdb-a3723a4352af43de8fd0bf30fd495dfb882f7067.tar.bz2
Missed some stuff last time.
Also, recognize constructors specially in gdb_mangle_name().
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/dwarfread.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e2a812a..b7d62a7 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 780e0c3..c43330d 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: