From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22986 invoked by alias); 21 Aug 2010 07:57:47 -0000 Received: (qmail 22977 invoked by uid 22791); 21 Aug 2010 07:57:47 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 21 Aug 2010 07:57:42 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L7H00800SOCC700@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Sat, 21 Aug 2010 10:57:19 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.220.100]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L7H007RWSRIZ640@a-mtaout20.012.net.il>; Sat, 21 Aug 2010 10:57:19 +0300 (IDT) Date: Sat, 21 Aug 2010 07:57:00 -0000 From: Eli Zaretskii Subject: Re: RFA: fix PR python/11145 In-reply-to: To: Tom Tromey Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83d3tcpfae.fsf@gnu.org> References: X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00382.txt.bz2 > From: Tom Tromey > 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).