From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8186 invoked by alias); 2 Jun 2014 04:04:38 -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 8170 invoked by uid 89); 2 Jun 2014 04:04:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pb0-f54.google.com Received: from mail-pb0-f54.google.com (HELO mail-pb0-f54.google.com) (209.85.160.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 02 Jun 2014 04:04:35 +0000 Received: by mail-pb0-f54.google.com with SMTP id jt11so3751425pbb.41 for ; Sun, 01 Jun 2014 21:04:33 -0700 (PDT) X-Received: by 10.66.148.70 with SMTP id tq6mr37036233pab.56.1401681872380; Sun, 01 Jun 2014 21:04:32 -0700 (PDT) Received: from seba.sebabeach.org.gmail.com (173-13-178-50-sfba.hfc.comcastbusiness.net. [173.13.178.50]) by mx.google.com with ESMTPSA id bu1sm17889199pbb.54.2014.06.01.21.04.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Jun 2014 21:04:31 -0700 (PDT) From: Doug Evans To: Siva Chandra Cc: gdb-patches Subject: Re: [PATCH 3/4 v19] Add support for lookup, overload resolution and invocation of xmethods of C++ classes References: Date: Mon, 02 Jun 2014 04:04:00 -0000 In-Reply-To: (Siva Chandra's message of "Fri, 30 May 2014 16:01:12 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00010.txt.bz2 Siva Chandra writes: > No changes from v18. > > ChangeLog > > 2014-05-30 Siva Chandra Reddy > > * eval.c (evaluate_subexp_standard): Call the xmethod if the > best match method returned by find_overload_match is an xmethod. > * valarith.c (value_x_binop, value_x_unop): Call the xmethod if > the best matching operator returned by find_overload_match is an > xmethod. > * valops.c: #include "extension.h". > (find_method_list): Add "fn_list" and "xm_worker_vec" arguments. > Return void. The list of matching source methods is returned in > "fn_list" and a vector of matching debug method workers is > returned in "xm_worker_vec". Update all callers. > (value_find_oload_method_list): Likewise. > (find_oload_champ): Add "xm_worker_vec" parameter. If it is > non-NULL, then the index of the best matching method in this > vector is returned. Update all callers. > (find_overload_match): Include xmethods while performing overload > resolution. LGTM