From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17997 invoked by alias); 23 Aug 2010 20:31:45 -0000 Received: (qmail 17983 invoked by uid 48); 23 Aug 2010 20:31:45 -0000 Date: Mon, 23 Aug 2010 20:31:00 -0000 Message-ID: <20100823203145.17982.qmail@sourceware.org> From: "tromey at redhat dot com" To: gdb-prs@sourceware.org In-Reply-To: <20100107085322.11145.jens.elmenthaler@verigy.com> References: <20100107085322.11145.jens.elmenthaler@verigy.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug python/11145] Add C++ style casts to Python API X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2010-q3/txt/msg00291.txt.bz2 ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-08-23 20:29 ------- Subject: Bug 11145 CVSROOT: /cvs/src Module name: src Changes by: tromey@sourceware.org 2010-08-23 20:29:19 Modified files: gdb : ChangeLog gdb/doc : ChangeLog gdb.texinfo gdb/python : py-value.c gdb/testsuite : ChangeLog gdb/testsuite/gdb.python: py-value.c py-value.exp Log message: gdb PR python/11145: * python/py-value.c: Include expression.h. (valpy_do_cast): New function. (valpy_cast): Use it. (valpy_dynamic_cast): New function. (valpy_reinterpret_cast): Likewise. (value_object_methods): Add dynamic_cast, reinterpret_cast. gdb/doc PR python/11145: * gdb.texinfo (Values From Inferior): Document dynamic_cast and reinterpret_cast methods. gdb/testsuite PR python/11145: * gdb.python/py-value.c (Base, Derived): New types. (base): New global. * gdb.python/py-value.exp (test_subscript_regression): Add dynamic_cast test. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12109&r2=1.12110 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1103&r2=1.1104 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.757&r2=1.758 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-value.c.diff?cvsroot=src&r1=1.14&r2=1.15 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2427&r2=1.2428 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-value.c.diff?cvsroot=src&r1=1.6&r2=1.7 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-value.exp.diff?cvsroot=src&r1=1.14&r2=1.15 ------- Additional Comments From tromey at redhat dot com 2010-08-23 20:31 ------- I checked in the fix. -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|7.1 |7.3 http://sourceware.org/bugzilla/show_bug.cgi?id=11145 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.