Support DW_TAG_rvalue_reference type
authorArtemiy Volkov <artemiyv@acm.org>
Mon, 20 Mar 2017 20:47:50 +0000 (13:47 -0700)
committerKeith Seitz <keiths@redhat.com>
Mon, 20 Mar 2017 20:47:50 +0000 (13:47 -0700)
commit4297a3f0029974c62628d69b6f3f9ef25f01ea7d
tree307197483afbb61a0482dbfe00f6f5a7614ad4db
parente1cb3213476485a01aa11ecedfa186e386cb4bdb
Support DW_TAG_rvalue_reference type

Make gdb DWARF reader understand the DW_TAG_rvalue_reference type tag. Handling
of this tag is done in the existing read_tag_reference_type() function, to
which we add a new parameter representing the kind of reference type
(lvalue vs rvalue).

gdb/ChangeLog

PR gdb/14441
* dwarf2read.c (process_die, read_type_die_1): Handle the
DW_TAG_rvalue_reference_type DIE.
(read_tag_reference_type): Add new parameter "refcode".
gdb/ChangeLog
gdb/dwarf2read.c