aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.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/eval.c
parent5f4ce105edc3ebbd4b0425d41ccac0064e3cec41 (diff)
downloadgdb-4bfb94b8648cebad2683d24ebe033ef539df1dbb.zip
gdb-4bfb94b8648cebad2683d24ebe033ef539df1dbb.tar.gz
gdb-4bfb94b8648cebad2683d24ebe033ef539df1dbb.tar.bz2
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/eval.c')
-rw-r--r--gdb/eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/eval.c b/gdb/eval.c
index 72ac69f..e6ab662 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -1390,7 +1390,7 @@ evaluate_subexp_standard (struct type *expect_type,
else if (TYPE_CODE (type) == TYPE_CODE_MEMBERPTR)
{
struct type *type_ptr
- = lookup_pointer_type (TYPE_DOMAIN_TYPE (type));
+ = lookup_pointer_type (TYPE_SELF_TYPE (type));
struct type *target_type_ptr
= lookup_pointer_type (TYPE_TARGET_TYPE (type));
@@ -1934,7 +1934,7 @@ evaluate_subexp_standard (struct type *expect_type,
case TYPE_CODE_MEMBERPTR:
/* Now, convert these values to an address. */
- arg1 = value_cast_pointers (lookup_pointer_type (TYPE_DOMAIN_TYPE (type)),
+ arg1 = value_cast_pointers (lookup_pointer_type (TYPE_SELF_TYPE (type)),
arg1, 1);
mem_offset = value_as_long (arg2);