This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: fix PR python/11145
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 21 Aug 2010 10:59:21 +0300
- Subject: Re: RFA: fix PR python/11145
- References: <m3hbioykij.fsf@fleche.redhat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Tom Tromey <tromey@redhat.com>
> Date: Fri, 20 Aug 2010 16:41:40 -0600
>
> PR python/11145 asks for the addition of C++-style cast operators to
> gdb.Value.
>
> I think this is a basically reasonable request, but really only
> reinterpret_cast and dynamic_cast are needed -- static_cast and
> const_cast are, I think, already well-handled by Value.cast.
Thanks.
> +@defmethod Value dynamic_cast type
> +Like @code{Value.cast}, but works as if the C++ @code{dynamic_cast}
^^^
We use "C@t{++}" throughout the manual. It looks better in print.
Okay with that change (in several places in your patch).