From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24807 invoked by alias); 22 Jan 2014 21:39:27 -0000 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 Received: (qmail 24798 invoked by uid 89); 22 Jan 2014 21:39:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ee0-f51.google.com Received: from mail-ee0-f51.google.com (HELO mail-ee0-f51.google.com) (74.125.83.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 22 Jan 2014 21:39:25 +0000 Received: by mail-ee0-f51.google.com with SMTP id b57so42792eek.38 for ; Wed, 22 Jan 2014 13:39:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ajdQDg6TEgXnNClXCLDz+QXHg/ecLKla0ZNIQibH8P8=; b=Q0mHQAL4xSmlOw+OgbMG2UIXwWDXVjpSdLgxmFocZuUDiZ+isoU6hoPQICjuqFY1a2 rQ0HSwpPvyVCEtnoZUFyWF3ATwlE/7njT40i3IDKb8/2btljWAksuw7aMwwi9EkEGf5n GPvjArmS1oMzZL7tmrWtfm2tWvdTh5bljns4Wc7NqJH8l4Fxtb5c2FT/x1TQItZXpSTr Qk+Vb9wAkuxXmjnQIvD2Ma4M34rmN5ENZdGbFFT4y6/M4uZSy3keWOiv6IR3ordTQrXR mvpMaStLCeA4pjC6IICmZBLDtdLASzaDVJTMEJZiO+K1AuisjtYmKvA8K7xJwfmdhXTg ufQw== X-Gm-Message-State: ALoCoQndx+/Pz3jVcz+2eYqlv3Qe/m7ZXVQwn0RaUGOBhcooVPQrKZJNPYzCO0KYbl+Msjc9XT3E/tEPdgMYXtPAbrzXZTeSce5AqKOJwluseM+hkAU25D7z4auYNpFXG+PJ1ORRMDP+3le4iwEDhklGYZw3VDYHbGIFap3CjuX/Bbh2L30ZN+x7OXCyQ4CBzbFuhV0Hzhpe72oaqE/Y0waYrVjCrWjubA== MIME-Version: 1.0 X-Received: by 10.15.43.10 with SMTP id w10mr3998986eev.13.1390426762297; Wed, 22 Jan 2014 13:39:22 -0800 (PST) Received: by 10.14.151.72 with HTTP; Wed, 22 Jan 2014 13:39:22 -0800 (PST) In-Reply-To: References: <871u1j2ldi.fsf@fleche.redhat.com> <83ppoqaa2k.fsf@gnu.org> Date: Wed, 22 Jan 2014 21:39:00 -0000 Message-ID: Subject: Re: [RFC/Patch] Call overloaded operators to perform valid Python operations on struct/class values. From: Siva Chandra To: Eli Zaretskii Cc: gdb-patches , Tom Tromey , Doug Evans Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00883.txt.bz2 ping. Any decision on this patch/feature? > 2013-12-30 Siva Chandra Reddy > > Call overloaded operators to perform valid Python operations on > struct/class values. > * NEWS (Python Scripting): Add entry for this new feature. > * python/py-value.c (valpy_binop): Call value_x_binop for struct > and class values. > > testsuite/ > * gdb.python/py-value-cc.cc: Improve test case to enable testing > operations on gdb.Value objects. > * gdb.python/py-value-cc.exp: Add new test to test operations on > gdb.Value objects. > > doc/ > * gdb.texinfo (Values From Inferior): Add description about > performing valid Python operations on gdb.Value objects.