diff options
author | Michael Tiemann <tiemann@cygnus> | 1991-11-18 00:32:34 +0000 |
---|---|---|
committer | Michael Tiemann <tiemann@cygnus> | 1991-11-18 00:32:34 +0000 |
commit | 572acbbedcc289fad1de4ef807c4c47634338a0a (patch) | |
tree | 4de133102f8c71dc1b3517b72db505678cc06cc9 /gdb/dwarfread.c | |
parent | a89f7423b41371db9e223441e48c3b5bce71e659 (diff) | |
download | gdb-572acbbedcc289fad1de4ef807c4c47634338a0a.zip gdb-572acbbedcc289fad1de4ef807c4c47634338a0a.tar.gz gdb-572acbbedcc289fad1de4ef807c4c47634338a0a.tar.bz2 |
Make changes needed to handle code which uses ANSI-mangled names (and
new G++ 1.95 dbxout output).
Diffstat (limited to 'gdb/dwarfread.c')
-rw-r--r-- | gdb/dwarfread.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c index 2d72310..0f96332 100644 --- a/gdb/dwarfread.c +++ b/gdb/dwarfread.c @@ -899,6 +899,9 @@ DEFUN(struct_type, (dip, thisdie, enddie), { case TAG_structure_type: TYPE_CODE (type) = TYPE_CODE_STRUCT; + TYPE_CPLUS_SPECIFIC (type) + = (struct cplus_struct_type *) obstack_alloc (symbol_obstack, sizeof (struct cplus_struct_type)); + bzero (TYPE_CPLUS_SPECIFIC (type), sizeof (struct cplus_struct_type)); tpart1 = "struct "; break; case TAG_union_type: |