summaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2015-01-31 21:17:05 -0800
committerDoug Evans <xdje42@gmail.com>2015-01-31 21:17:05 -0800
commit4bfb94b8648cebad2683d24ebe033ef539df1dbb (patch)
tree1451215ef768f01830176d8e4b446847dda79988 /gdb/stabsread.c
parent5f4ce105edc3ebbd4b0425d41ccac0064e3cec41 (diff)
downloadbinutils-gdb-4bfb94b8648cebad2683d24ebe033ef539df1dbb.tar.gz
gdbtypes.h (TYPE_SELF_TYPE): Renamed from TYPE_DOMAIN_TYPE.
gdb/ChangeLog: * gdbtypes.h (TYPE_SELF_TYPE): Renamed from TYPE_DOMAIN_TYPE. All uses updated.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index 6862c525225..1f46f757c8b 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -2380,8 +2380,8 @@ read_member_functions (struct field_info *fip, char **pp, struct type *type,
if (TYPE_STUB (new_sublist->fn_field.type))
{
- if (!TYPE_DOMAIN_TYPE (new_sublist->fn_field.type))
- TYPE_DOMAIN_TYPE (new_sublist->fn_field.type) = type;
+ if (!TYPE_SELF_TYPE (new_sublist->fn_field.type))
+ TYPE_SELF_TYPE (new_sublist->fn_field.type) = type;
new_sublist->fn_field.is_stub = 1;
}
new_sublist->fn_field.physname = savestring (*pp, p - *pp);