diff options
author | Artemiy Volkov <artemiyv@acm.org> | 2017-03-20 13:47:46 -0700 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2017-03-20 13:47:46 -0700 |
commit | e4347c89f3a14b480fc88581d1363835f7b99b68 (patch) | |
tree | 90a1812f258e7dd3a207b87760a6bc4950b182c2 /gdb/ChangeLog | |
parent | 53cc15f5fe1f5e2358994d4f60f1c2aa9115004d (diff) | |
download | gdb-e4347c89f3a14b480fc88581d1363835f7b99b68.zip gdb-e4347c89f3a14b480fc88581d1363835f7b99b68.tar.gz gdb-e4347c89f3a14b480fc88581d1363835f7b99b68.tar.bz2 |
Implement demangling for rvalue reference type names
This patch fixes demangling of names containing rvalue reference typenames by
handling DEMANGLE_COMPONENT_RVALUE_REFERENCE demangle component.
gdb/ChangeLog
PR gdb/14441
* cp-name-parser.y (ptr_operator): Handle the '&&' token in
typename.
* cp-support.c (replace_typedefs): Handle
DEMANGLE_COMPONENT_RVALUE_REFERENCE.
* python/py-type.c (typy_lookup_type): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5df48e5..39f1e68 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,15 @@ 2017-03-20 Artemiy Volkov <artemiyv@acm.org> PR gdb/14441 + * cp-name-parser.y (ptr_operator): Handle the '&&' token in + typename. + * cp-support.c (replace_typedefs): Handle + DEMANGLE_COMPONENT_RVALUE_REFERENCE. + * python/py-type.c (typy_lookup_type): Likewise. + +2017-03-20 Artemiy Volkov <artemiyv@acm.org> + + PR gdb/14441 * c-exp.y (ptr_operator): Handle the '&&' token in the typename. * parse.c (insert_type): Change assert statement. (follow_types): Handle rvalue reference types. |