diff options
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r-- | gdb/stabsread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 52c6c72..0061d20 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -1566,6 +1566,8 @@ read_member_functions (fip, pp, type, objfile) if (TYPE_FLAGS (new_sublist -> fn_field.type) & TYPE_FLAG_STUB) { + if (!TYPE_DOMAIN_TYPE (new_sublist -> fn_field.type)) + TYPE_DOMAIN_TYPE (new_sublist -> fn_field.type) = type; new_sublist -> fn_field.is_stub = 1; } new_sublist -> fn_field.physname = savestring (*pp, p - *pp); |