From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28238 invoked by alias); 3 Nov 2014 14:35:18 -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 28226 invoked by uid 89); 3 Nov 2014 14:35:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 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-oi0-f46.google.com Received: from mail-oi0-f46.google.com (HELO mail-oi0-f46.google.com) (209.85.218.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 03 Nov 2014 14:35:16 +0000 Received: by mail-oi0-f46.google.com with SMTP id g201so8668608oib.19 for ; Mon, 03 Nov 2014 06:35:14 -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:content-type; bh=Ui6PCi7LiVTJemS70ZEBZ7iGfEUtZ8HBAW/KCymVAy8=; b=FPH2eKUgFA+IWkFdEhwd6AcvhnG5DaitF0jPMj3lDmZpihYNV4o+PCMBu6Gzkv7iot pnAm80teVegZ2R2NSLDlYg/3n4zNMPQqOGHLK6Au2HFfxZGZYTkAb/TXMwZFFLqr2IqK pk4SM1zZJHefAMDuP29F/bGc+jp3wGfxOWFvWhXO5Kr5VLUFt0pCoDRuO+KGD8Q7ppVk 45PaVnSgjX8z5myrjYHsOkAklB6bPzZeEOgzQSOEgVOydSFZhOSxDKy1JlAILsoEw/Ip Lar7l/fm9DuJMP0Zv6vRfr5AHb3WKhVxF3owV8BUPzR/rYnTXnSAER3jtOPmpQAdP3is wfmw== X-Gm-Message-State: ALoCoQnKw4xpYftaHEesCQpgGJ53PjEZ99+NHaKGxfko34RZtQOZJcrNsaF930EaUuoWdN7UBaAO MIME-Version: 1.0 X-Received: by 10.202.179.10 with SMTP id c10mr342343oif.102.1415025314144; Mon, 03 Nov 2014 06:35:14 -0800 (PST) Received: by 10.202.197.13 with HTTP; Mon, 3 Nov 2014 06:35:14 -0800 (PST) In-Reply-To: References: Date: Mon, 03 Nov 2014 14:35:00 -0000 Message-ID: Subject: Re: [PATCH] PR c++/17494 - Fix evaluation of method calls under EVAL_SKIP From: Siva Chandra To: gdb-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00043.txt.bz2 On Mon, Oct 20, 2014 at 12:11 PM, Siva Chandra wrote: > When evaluating method calls under EVAL_SKIP, the "object" and the > arguments to the method should also be evaluated under EVAL_SKIP, > instead of skipping to evaluate them. Getting this right fixes PR > c++/17494. > > gdb/ChangeLog: > > 2014-10-20 Siva Chandra Reddy > > PR c++/17494 > * eval.c (evaluate_subexp_standard): Evaluate the "object" and > the method args also under EVAL_SKIP when evaluating method > calls under EVAL_SKIP. > > gdb/testsuite/ChangeLog: > > 2014-10-20 Siva Chandra Reddy > > PR c++/17494 > * gdb.cp/pr17494.cc: New file. > * gdb.cp/pr17494.exp: New file. Ping.