From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25731 invoked by alias); 27 Oct 2014 17:22:51 -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 25717 invoked by uid 89); 27 Oct 2014 17:22:50 -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-ob0-f171.google.com Received: from mail-ob0-f171.google.com (HELO mail-ob0-f171.google.com) (209.85.214.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 27 Oct 2014 17:22:49 +0000 Received: by mail-ob0-f171.google.com with SMTP id wp18so3780421obc.30 for ; Mon, 27 Oct 2014 10:22:47 -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:content-type; bh=Ui6PCi7LiVTJemS70ZEBZ7iGfEUtZ8HBAW/KCymVAy8=; b=FKSP3uRjf8rXNGpm1ivRBFCb7EgsAXYtOEziDhsZk5132rUFYUoRO00VbBZiItYtIL ECjaeym2AJfb7fb7NsbyVCLPVau/BBUKG0Wp8Du+Wre33QgnE6p9M8f8PJHlWhGBNP6V mvC+EbyXNZfJO9vAmTN2d2p8NTuJXcogF9/VE29P3IQyi6HQ+oYbKvuxNtXd3si/ZBKv oYPd7ffm037GWI32kTsXfnN1OglNIftXRcz9i5RM1cjjgY0TCCJ3F51QMyLdW/4UlxJr 1bD69tB0T3yitigJUf9tLdUQtO0VWwcAy809o9i58Sq+65FADI0dCph3pB2ScdVxkrM9 8uKA== X-Gm-Message-State: ALoCoQmOa85HCclRNGLsgVdKIO1FeI75z3/HIsKuZCjc/rAq06eMH9L/f3TMSTRMOUngoUeVBxmH MIME-Version: 1.0 X-Received: by 10.60.48.4 with SMTP id h4mr8887896oen.42.1414430567583; Mon, 27 Oct 2014 10:22:47 -0700 (PDT) Received: by 10.202.197.13 with HTTP; Mon, 27 Oct 2014 10:22:47 -0700 (PDT) In-Reply-To: References: Date: Mon, 27 Oct 2014 17:22: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-10/txt/msg00739.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.