From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95807 invoked by alias); 4 May 2015 23:40:52 -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 95798 invoked by uid 89); 4 May 2015 23:40:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-ob0-f179.google.com Received: from mail-ob0-f179.google.com (HELO mail-ob0-f179.google.com) (209.85.214.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 04 May 2015 23:40:51 +0000 Received: by obfe9 with SMTP id e9so118285370obf.1 for ; Mon, 04 May 2015 16:40:49 -0700 (PDT) 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=h1UZyLxwgr3NCe7i8BE5x31GbQs9A8lsN2WDWk6W8gY=; b=MNM9ENdlMTNAPrLamYDSWVBSkAoDUusUDYNbqJ6sqrCpsr1Ux2Cf4uzzgX1xYdGgIN tH7j/7lfXGu44lrQJ9Jv8T4r+CpfVCDQ65ahcs92IgQUCHTGKurTlN/9EiHi9TjV9sUM LfqUXVMtkLC12xCXODJ9Uq81c/TgO2UzCk3mnaIpK0toOKZtLxcZ8Rf+wozBifJuOzZb SGL8QTmZFQilJHqqwnpzLJk5W3Sr4pGWz37HigCyrJGE+BXoclkqXiOlDR+gYWAC5NfT ceJhEY0ba4XkBhIAYITYFGfb9uhVR5JgHv29iqeCZiXGU8MZDDtntwED43hXMrmazTXk 5SGQ== X-Gm-Message-State: ALoCoQkIJUK+2vF4FyO3Od7N0vgYjy4MtDJPHxzZOky352ZFDnVbHRhkbNCDs81z+EaxwjpMsjmD MIME-Version: 1.0 X-Received: by 10.202.169.2 with SMTP id s2mr19058762oie.71.1430782848990; Mon, 04 May 2015 16:40:48 -0700 (PDT) Received: by 10.202.83.83 with HTTP; Mon, 4 May 2015 16:40:48 -0700 (PDT) In-Reply-To: References: Date: Mon, 04 May 2015 23:40:00 -0000 Message-ID: Subject: Re: [Python] Add methods reference_value and const_value to gdb.Value From: Siva Chandra To: gdb-patches Cc: Doug Evans Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00066.txt.bz2 Ping. On Mon, Apr 27, 2015 at 6:30 AM, Siva Chandra wrote: > 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.