aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-valprint.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/cp-valprint.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/cp-valprint.c')
-rw-r--r--gdb/cp-valprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c
index bf1a600..9eea7ce 100644
--- a/gdb/cp-valprint.c
+++ b/gdb/cp-valprint.c
@@ -764,7 +764,7 @@ cp_print_class_member (const gdb_byte *valaddr, struct type *type,
/* VAL is a byte offset into the structure type DOMAIN.
Find the name of the field for that offset and
print it. */
- struct type *domain = TYPE_DOMAIN_TYPE (type);
+ struct type *domain = TYPE_SELF_TYPE (type);
LONGEST val;
int fieldno;