From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100507 invoked by alias); 27 Apr 2015 14:54:24 -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 100497 invoked by uid 89); 27 Apr 2015 14:54:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout27.012.net.il Received: from mtaout27.012.net.il (HELO mtaout27.012.net.il) (80.179.55.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 27 Apr 2015 14:54:22 +0000 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NNG00400ZL5G200@mtaout27.012.net.il> for gdb-patches@sourceware.org; Mon, 27 Apr 2015 17:49:24 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNG000JGZUCPA40@mtaout27.012.net.il>; Mon, 27 Apr 2015 17:49:24 +0300 (IDT) Date: Mon, 27 Apr 2015 14:54:00 -0000 From: Eli Zaretskii Subject: Re: [Python] Add methods reference_value and const_value to gdb.Value In-reply-to: To: Siva Chandra Cc: gdb-patches@sourceware.org, dje@google.com Reply-to: Eli Zaretskii Message-id: <83siblwrjh.fsf@gnu.org> References: X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00992.txt.bz2 > Date: Mon, 27 Apr 2015 06:30:20 -0700 > From: Siva Chandra > Cc: Doug Evans > > This will help address libstdc++/65840: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65840 > > gdb/ChangeLog: > > 2015-04-27 Siva Chandra Reddy > > * NEWS (Python Scripting): Mention the new gdb.Value methods. > * python/py-value.c (valpy_reference_value): New function. > (valpy_const_value): Likewise. > (value_object_methods): Add new methods. > * value.c (make_cv_value): New function. > * value.h (make_cv_value): Declare. > > gdb/doc/ChangeLog: > > 2015-04-27 Siva Chandra Reddy > > * python.texi (Values From Inferior): Add descriptions of new > methods gdb.Value.reference_value and gdb.Value.const_value. > > gdb/testsuite/ChangeLog: > > 2015-04-27 Siva Chandra Reddy > > * gdb.python/py-xmethods.cc: Enhance test case. > * gdb.python/py-xmethods.exp: New tests. > * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker > function. > (B_indexoper): Likewise. > (global_dm_list) : Add new xmethod worker functions. OK for the documentation parts. Thanks.