This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3 06/11] [PR gdb/14441] gdb: print: implement correct printing of rvalue reference types and values


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]