aboutsummaryrefslogtreecommitdiff
path: root/libiberty/cp-demangle.c
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2015-06-24 21:43:02 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2015-06-24 21:43:02 +0200
commitf91ca6bc00c1e3c70c1d2f4527d4297b76e2eaca (patch)
tree2cf0506c54b3ed4693dc47cb502088ed5c27a09f /libiberty/cp-demangle.c
parent59cab532835904f368b0aa99267afba5fda5ded2 (diff)
downloadgdb-f91ca6bc00c1e3c70c1d2f4527d4297b76e2eaca.zip
gdb-f91ca6bc00c1e3c70c1d2f4527d4297b76e2eaca.tar.gz
gdb-f91ca6bc00c1e3c70c1d2f4527d4297b76e2eaca.tar.bz2
Sync libiberty from GCC, replaying updates to configure scripts
Diffstat (limited to 'libiberty/cp-demangle.c')
-rw-r--r--libiberty/cp-demangle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c
index 77c2cee9..2988b6b 100644
--- a/libiberty/cp-demangle.c
+++ b/libiberty/cp-demangle.c
@@ -2470,6 +2470,9 @@ cplus_demangle_type (struct d_info *di)
case 'U':
d_advance (di, 1);
ret = d_source_name (di);
+ if (d_peek_char (di) == 'I')
+ ret = d_make_comp (di, DEMANGLE_COMPONENT_TEMPLATE, ret,
+ d_template_args (di));
ret = d_make_comp (di, DEMANGLE_COMPONENT_VENDOR_TYPE_QUAL,
cplus_demangle_type (di), ret);
break;