aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarfread.c
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/dwarfread.c
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/dwarfread.c')
-rw-r--r--gdb/dwarfread.c2
1 files changed, 1 insertions, 1 deletions
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: