From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15362 invoked by alias); 26 Nov 2014 03:58:06 -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 15353 invoked by uid 89); 26 Nov 2014 03:58:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 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-oi0-f53.google.com Received: from mail-oi0-f53.google.com (HELO mail-oi0-f53.google.com) (209.85.218.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 26 Nov 2014 03:58:04 +0000 Received: by mail-oi0-f53.google.com with SMTP id x69so1412263oia.26 for ; Tue, 25 Nov 2014 19:58:02 -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=zA1XdiiA4ANLkBFHloi4hLj88CoQLpSOejnka8Ij2yI=; b=YkB0eS+FPjOgAk/SKmOuzphINzrNu2hv4fYFbijxTCy60pMUOKfR0srnaDZ1x/6XRp 8y6Ra+0H8gMeMSsErbLnGKc74kIEvFiFQSW/SmaPt/nPwfkjyrqHmmV+lamQO5DkyVie KogQdNdJwT5YbWRu5YJF8sQ8Lovw0d9DEjaKp9Pri5zr0PsrSz9GApKCXTLOYXQqm8+1 hwyJPjr/0guRp4/ZaiA7xRyXEq9ARFdf9D+lPmhsyLcJdZe3XPcnZ04e0ZIx3VD1OSsj n7r8muIDRmMLJ8QscZw5DsgsjL6b3sbnW17vjG4BXYjWB2HxMJu/MstxsrH66zGnfqdy Xn8w== X-Gm-Message-State: ALoCoQm+TqTiShcLvDdWOdlFshCLXO28lCQVJPYHnGuPA6wI1R1g/Qq4759JogN1RzZh63m9PRra MIME-Version: 1.0 X-Received: by 10.202.222.9 with SMTP id v9mr35342oig.112.1416974282394; Tue, 25 Nov 2014 19:58:02 -0800 (PST) Received: by 10.202.225.68 with HTTP; Tue, 25 Nov 2014 19:58:02 -0800 (PST) In-Reply-To: References: Date: Wed, 26 Nov 2014 03:58:00 -0000 Message-ID: Subject: Re: [RFC] While processing a struct die, store the method's address in its fn_field From: Siva Chandra To: Doug Evans Cc: gdb-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00639.txt.bz2 I will go over your comments in detail and respond. One clarification until then ... On Tue, Nov 25, 2014 at 7:22 PM, Doug Evans wrote: > btw, when I try your patch I get one fail: > > p lambda(10)^M > Invalid data type for function to be called.^M > (gdb) FAIL: gdb.dwarf2/dw2-member-function-addr.exp: p lambda() As mentioned in my very first email, the tests depend on https://sourceware.org/ml/gdb-patches/2014-11/msg00479.html. We can remove this dependency by invoking the operator() explicitly "lambda.operator()(10)".