aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-11-06 17:19:06 -0800
committerDoug Evans <xdje42@gmail.com>2014-11-06 17:19:06 -0800
commit4753d33b404f07e749f648c57ae61e3984d40029 (patch)
tree1d0999b959a4f9fc5dbb2f816de59b82dfe0edc6 /gdb/dwarf2read.c
parent9c1877ead06db18e19614a598d1e280acb97e971 (diff)
downloadgdb-4753d33b404f07e749f648c57ae61e3984d40029.zip
gdb-4753d33b404f07e749f648c57ae61e3984d40029.tar.gz
gdb-4753d33b404f07e749f648c57ae61e3984d40029.tar.bz2
Delete TYPE_CODE_CLASS, it's just an alias of TYPE_CODE_STRUCT.
gdb/ChangeLog: * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use TYPE_CODE_STRUCT.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 3f2a127..76f62b5 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -12965,7 +12965,7 @@ read_structure_type (struct die_info *die, struct dwarf2_cu *cu)
}
else
{
- TYPE_CODE (type) = TYPE_CODE_CLASS;
+ TYPE_CODE (type) = TYPE_CODE_STRUCT;
}
if (cu->language == language_cplus && die->tag == DW_TAG_class_type)