This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 06/11] [PR gdb/14441] gdb: print: implement correct printing of rvalue reference types and values
- From: Keith Seitz <keiths at redhat dot com>
- To: Artemiy Volkov <artemiyv at acm dot org>, gdb-patches at sourceware dot org
- Date: Wed, 16 Mar 2016 15:26:09 -0700
- Subject: Re: [PATCH v3 06/11] [PR gdb/14441] gdb: print: implement correct printing of rvalue reference types and values
- Authentication-results: sourceware.org; auth=none
- References: <1453229609-20159-1-git-send-email-artemiyv at acm dot org> <1457147955-21871-1-git-send-email-artemiyv at acm dot org> <1457147955-21871-7-git-send-email-artemiyv at acm dot org>
On 03/04/2016 07:19 PM, Artemiy Volkov wrote:
> This patch provides the ability to print out names of rvalue reference types
> and values of those types. This is done in full similarity to regular
> references, and as with them, we don't print out "const" suffix because all
> rvalue references are const.
>
> gdb/ChangeLog:
>
> 2016-03-04 Artemiy Volkov <artemiyv@acm.org>
>
> * c-typeprint.c (c_print_type, c_type_print_varspec_prefix)
> (c_type_print_modifier, c_type_print_varspec_suffix)
> (c_type_print_base): Support printing rvalue reference types.
> * c-valprint.c (c_val_print, c_value_print): Support printing
> rvalue reference values.
> ---
> gdb/c-typeprint.c | 10 ++++++----
> gdb/c-valprint.c | 4 ++--
> 2 files changed, 8 insertions(+), 6 deletions(-)
This looks okay, too.
Keith