diff options
author | Pedro Alves <palves@redhat.com> | 2017-03-27 13:56:49 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-03-27 14:18:41 +0100 |
commit | b1a42fdfa31937d7e05df34afee970ac0ad239e1 (patch) | |
tree | fcdc9b4e5d29063ad802c68f8cbe0fd5253db41d /gdb/ada-lang.h | |
parent | a6be053897be3786ceda9a59d17befe11454f6d2 (diff) | |
download | gdb-b1a42fdfa31937d7e05df34afee970ac0ad239e1.zip gdb-b1a42fdfa31937d7e05df34afee970ac0ad239e1.tar.gz gdb-b1a42fdfa31937d7e05df34afee970ac0ad239e1.tar.bz2 |
cplus_demangle_fill_component: Handle DEMANGLE_COMPONENT_RVALUE_REFERENCE
This patch almost a decade ago:
...
2007-08-31 Douglas Gregor <doug.gregor@gmail.com>
* cp-demangle.c (d_dump): Handle
DEMANGLE_COMPONENT_RVALUE_REFERENCE.
(d_make_comp): Ditto.
...
... missed doing the same change to cplus_demangle_fill_component that
was done to d_make_comp. I.e., teach it to only validate that we're
not passing in a "right" subtree. GDB has recently (finally) learned
about rvalue references, and a change to make it use
cplus_demangle_fill_component more ran into an assertion because of
this.
(GDB is the only user of cplus_demangle_fill_component in both the gcc
and binutils-gdb trees.)
libiberty/ChangeLog:
2017-03-27 Pedro Alves <palves@redhat.com>
* cp-demint.c (cplus_demangle_fill_component): Handle
DEMANGLE_COMPONENT_RVALUE_REFERENCE.
Diffstat (limited to 'gdb/ada-lang.h')
0 files changed, 0 insertions, 0 deletions