aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1991-12-27 21:11:37 +0000
committerPer Bothner <per@bothner.com>1991-12-27 21:11:37 +0000
commitaab77d5f23a8d3f54c1976bb54d944065c45eb34 (patch)
treec30ae4ca1825c2a6db908e9424aafa923209c05b /gdb/buildsym.c
parentf3b7efd5b67fd3c5bc150650b16191fa6c86bfb0 (diff)
downloadgdb-aab77d5f23a8d3f54c1976bb54d944065c45eb34.zip
gdb-aab77d5f23a8d3f54c1976bb54d944065c45eb34.tar.gz
gdb-aab77d5f23a8d3f54c1976bb54d944065c45eb34.tar.bz2
More changes, mostly cleanups from the last set.
Made some more progress in removing duplicate assembly opcode files. More improvements to how mipsread and to a lesser extent dbxread work. See the ChangeLog for details.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index bbcaecd..0a5aa5d 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -1704,7 +1704,7 @@ read_type (pp)
type = dbx_alloc_type (typenums);
TYPE_CODE (type) = code;
TYPE_NAME (type) = type_name;
- TYPE_CPLUS_SPECIFIC(type) = &cplus_struct_default;
+ INIT_CPLUS_SPECIFIC(type);
TYPE_FLAGS (type) |= TYPE_FLAG_STUB;
add_undefined_type (type);
@@ -1921,7 +1921,7 @@ read_struct_type (pp, type)
int nfn_fields = 0;
TYPE_CODE (type) = TYPE_CODE_STRUCT;
- TYPE_CPLUS_SPECIFIC(type) = &cplus_struct_default;
+ INIT_CPLUS_SPECIFIC(type);
/* First comes the total size in bytes. */