From patchwork Fri Apr 24 18:20:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 6430 Received: (qmail 86620 invoked by alias); 24 Apr 2015 18:20:40 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 86609 invoked by uid 89); 24 Apr 2015 18:20:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 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-pa0-f73.google.com Received: from mail-pa0-f73.google.com (HELO mail-pa0-f73.google.com) (209.85.220.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 24 Apr 2015 18:20:39 +0000 Received: by pablj1 with SMTP id lj1so4201397pab.0 for ; Fri, 24 Apr 2015 11:20:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=AipuxjQ5/Wg1jv3SCZs7E4hgCyCBiCpPXeH6FRFP+q8=; b=ClM1O5RBqf6KZqCcf8nKDQVjCn2iTuhIWaRa4AJ7/475/STRelxjvHCTKd8gMf6VbF BqHRHAv0hFDqD04O5TZAw4tpJvYXZBnuZtLwzJfTQBCNR4e7yAQ42XSRM16LlwHoDrDq 6mA3j2edWIeW13uQC3uEZw43rVw9WpJascfDYshJ+drDUtGfSY6JJG8GwMVJddUO/pU2 wvOPOIvfopXvDfLKImuxE8g2ThDz2sd6lVJWMVDKbe3YMBnXLBwvYLz/FU1saGsliaIO +AektTdt0WFY/884lBoyCCbfXxJeZzCUjxVTpLNkIhMHw515gE5waKCfp3TYRIRsjqT9 SmCw== X-Gm-Message-State: ALoCoQl8o5uf69TrDpyouj+eFf2IkSuXcBZywHT6PXFYkQmi9cCk8N3g9pPYk+QztrtxlZex209nnzl8ivdJ2Ac5RTPiin4SO3xfZ/35iEVhJhv70g+rPJUDC7SgmDrVGhvtT+cAB23r9Km9RdL6Bzee5zBaXBgRUTHV54s5GzthKDm3rStcvT4= X-Received: by 10.70.48.206 with SMTP id o14mr12726896pdn.1.1429899637159; Fri, 24 Apr 2015 11:20:37 -0700 (PDT) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id x25si747310yha.2.2015.04.24.11.20.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Apr 2015 11:20:37 -0700 (PDT) Received: from ruffy.mtv.corp.google.com ([172.17.128.44]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTPS id jeXGfN2W.1; Fri, 24 Apr 2015 11:20:36 -0700 From: Doug Evans To: gdb-patches@sourceware.org Subject: [PATCH] python.texi (Xmethods In Python): Fix name of method to call the xmethod. Date: Fri, 24 Apr 2015 11:20:36 -0700 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. I noticed this while fixing PR 18285. Committed. 2015-04-24 Doug Evans * python.texi (Xmethods In Python): Fix name of method to call the xmethod. diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 098d718..448fa8b2 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -2360,7 +2360,7 @@ xmethod worker is found to be equivalent to the winning C@t{++} method, then the xmethod worker is treated as a replacement for the C@t{++} method. @value{GDBN} uses the overall winner to invoke the method. If the winning xmethod worker is the overall winner, then -the corresponding xmethod is invoked via the @code{invoke} method +the corresponding xmethod is invoked via the @code{__call__} method of the worker object. If one wants to implement an xmethod as a replacement for an