diff options
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r-- | gdb/stabsread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 2f9458c..02fc8cc 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -4398,7 +4398,7 @@ cleanup_undefined_types_noname (struct objfile *objfile) and needs to be copied over from the reference type. Since replace_type expects them to be identical, we need to set these flags manually before hand. */ - TYPE_INSTANCE_FLAGS (nat.type) = TYPE_INSTANCE_FLAGS (*type); + nat.type->set_instance_flags ((*type)->instance_flags ()); replace_type (nat.type, *type); } } |