aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2codeview.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/dwarf2codeview.cc')
-rw-r--r--gcc/dwarf2codeview.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/dwarf2codeview.cc b/gcc/dwarf2codeview.cc
index eb7c127..5006a17 100644
--- a/gcc/dwarf2codeview.cc
+++ b/gcc/dwarf2codeview.cc
@@ -1024,6 +1024,12 @@ get_type_num (dw_die_ref type)
t->num = get_type_num_base_type (type);
break;
+ case DW_TAG_typedef:
+ /* FIXME - signed longs typedef'd as "HRESULT" should get their
+ own type (T_HRESULT) */
+ t->num = get_type_num (get_AT_ref (type, DW_AT_type));
+ break;
+
default:
t->num = 0;
break;