From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12253 invoked by alias); 25 Jan 2014 18:45:30 -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 12239 invoked by uid 89); 25 Jan 2014 18:45:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 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-ie0-f174.google.com Received: from mail-ie0-f174.google.com (HELO mail-ie0-f174.google.com) (209.85.223.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 25 Jan 2014 18:45:29 +0000 Received: by mail-ie0-f174.google.com with SMTP id tp5so4260704ieb.33 for ; Sat, 25 Jan 2014 10:45:27 -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=kZmJ4Ro8DXkUwy2HqxFDVAzxoscD1ICmjqYES5dCtU8=; b=bENvla+W8F33BVOx1mCI6WpVi76fmneiC/RLvEq6jwcmtfkca3RqVMpkyp22vy2vwt MXKIVUhaDbmyvK8W5gEva6V9mvbmnHSf1sIsRaG+YvuvZyBIikLmDNxUi4ij5mUfEZRd 1sayvGBOikhYnE/O63/3KvRmCHRYy7MpWLcTn9JJKCd6HfFwy3NyD+AY55pxvhHN24Gh xzu1G8DlEIQeKesbUq6erjUDuRJXnUnkoR4S8jdleRAbe3sbj4QHKlWRxROlLDajsqQQ WfP7U3bJ2PV8YcJLxaSoQJbr63PsRR/fJD2hIi4jZXub8bzQn2dTwl0bXuN5wDx2LnjY 5aLQ== X-Gm-Message-State: ALoCoQnLH7DPnU5AWLUAgUFkmyO7rIhXtccAmke5ZcS8IfmDdeE6mQxO7Fh4fSdO+nCl4f1ed2aalte9f4BVkooJy0ea5Vb3WB3ono1XsyOChQEwkXFuZwkei3Jsp9MYm8QqJveJCDcbu7PoH92cfVZq542bcyK8gfsoLP+6GhH2tRDefeBt7me2bVj+5Jgy6G/gwI8v0ztGQIlwmONAnwuGBk0iK6BZ3g== MIME-Version: 1.0 X-Received: by 10.50.222.99 with SMTP id ql3mr10335142igc.42.1390675527280; Sat, 25 Jan 2014 10:45:27 -0800 (PST) Received: by 10.64.58.77 with HTTP; Sat, 25 Jan 2014 10:45:27 -0800 (PST) In-Reply-To: References: <871u1j2ldi.fsf@fleche.redhat.com> <83ppoqaa2k.fsf@gnu.org> Date: Sat, 25 Jan 2014 18:45:00 -0000 Message-ID: Subject: Re: [RFC/Patch] Call overloaded operators to perform valid Python operations on struct/class values. From: Doug Evans To: Siva Chandra Cc: Eli Zaretskii , gdb-patches , Tom Tromey Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00965.txt.bz2 On Wed, Jan 22, 2014 at 1:39 PM, Siva Chandra wrote: > 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. Hi. Thanks for persevering. Tom said it seems fine to him, and I've expressed my thoughts. Seems like a green light to me. IWBN if the docs listed exactly which operations are supported. Ok with that change. [I realize this patch relies on the user-defined method patch, so it can't go in just yet.] Thanks again for persevering.