This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v5 08/11] [PR gdb/14441] gdb: python: support rvalue references in the gdb module
- From: Pedro Alves <palves at redhat dot com>
- To: Artemiy Volkov <artemiyv at acm dot org>, gdb-patches at sourceware dot org
- Cc: keiths at redhat dot com
- Date: Mon, 20 Jun 2016 20:06:54 +0100
- Subject: Re: [PATCH v5 08/11] [PR gdb/14441] gdb: python: support rvalue references in the gdb module
- Authentication-results: sourceware.org; auth=none
- References: <1458593958-25656-1-git-send-email-artemiyv at acm dot org> <20160606192225 dot 12384-1-artemiyv at acm dot org> <20160606192225 dot 12384-9-artemiyv at acm dot org>
On 06/06/2016 08:22 PM, Artemiy Volkov wrote:
> This patch adds the ability to inspect rvalue reference types and values using
> the gdb python module. This is achieved by creating two wrappers for
> valpy_reference_value(), using the ReferenceExplorer class to handle the
> objects of rvalue reference types and placing necessary checks for a
> TYPE_CODE_RVALUE_REF type code next to the checks for a TYPE_CODE_REF type
> code.
The new Python API needs to be documented in the manual, along with a
corresponding NEWS entry.
I'd say that gdb's new support for rvalue references would
deserve a NEWS entry of its own too.
Thanks,
Pedro Alves