From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ACPYHbowmmKUIAoAWB0awg (envelope-from ) for ; Fri, 03 Jun 2022 12:03:06 -0400 Received: by simark.ca (Postfix, from userid 112) id 76F501E221; Fri, 3 Jun 2022 12:03:06 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=RqbSVWR7; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id F075E1E143 for ; Fri, 3 Jun 2022 12:03:05 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A08A33841443 for ; Fri, 3 Jun 2022 16:03:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A08A33841443 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1654272185; bh=ANiufiU1UNulgH1FMqTUY4rUuGJFE2zDu9xsePFV7cY=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=RqbSVWR7ipECY4hz/ShC/4cO37H4Bmm8E/C5C/Lm2qkXKlloLPt38LkRc2wgPnuTX lRD0BDCjrY+AVOI7Il7hODh/zl7DIb7Go/UzbKGEMn3MkN13R0nOlOH+x1gQoirWjW 3XZWFDoS2jJz171f79WXXTKFl1imFkNGWLl6+TLo= Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by sourceware.org (Postfix) with ESMTPS id E2F16385355B for ; Fri, 3 Jun 2022 16:01:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E2F16385355B Received: by mail-lf1-x12f.google.com with SMTP id l30so13309261lfj.3 for ; Fri, 03 Jun 2022 09:01:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ANiufiU1UNulgH1FMqTUY4rUuGJFE2zDu9xsePFV7cY=; b=rcdthhyQ5rx7eEzr8zxToi2FdyPMBAUdbz8UBatL5Wf5vhJO63ibGgu79IX+90nbVR 2qBnnV/vdy6LsSm+xJ17gO+psfFh9HjYFHTn/QBBoFhaqSq873H8x4Pe1ZCps/Kt9ggv vplrkUCetON2iiPZnWPdpZXif2AZAiXax7t1rJ8HNcB/TpmwwIEQ3HG9op+3qT2eTr41 qQbHOeFMYEGDLdjLaPxBGAmOyCwv5UXv0dSeh+QbfwS+PDaFbyO+8bnPxt93dRCYoO++ EilXeSZ+3HBcJoO/qcUjzpPf6u16Cvcs/JO+7T1xWBYLU6mVG1FCSuh0ULfi9YJiorLk 6ULw== X-Gm-Message-State: AOAM53384dvZykGub5ufsSuiiIh8fiea9tQNWLV+FNMjkIaNlJ3lkgWr vsOCMx3UjIPsEYM0/8EMNj6GMcH9+w== X-Google-Smtp-Source: ABdhPJxm5Pln6GvVklrxxuqDruqNwd7OGog40NY5hdC28yxZX3vkxLpi9fPP4zLGERe3ICgftHIiKw== X-Received: by 2002:ac2:43c3:0:b0:479:1630:c6ed with SMTP id u3-20020ac243c3000000b004791630c6edmr3866644lfl.406.1654272110539; Fri, 03 Jun 2022 09:01:50 -0700 (PDT) Received: from localhost.localdomain (85-128-83-172.static.ip.netia.com.pl. [85.128.83.172]) by smtp.gmail.com with ESMTPSA id x15-20020ac25dcf000000b0047255d210dbsm1654727lfq.10.2022.06.03.09.01.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 09:01:50 -0700 (PDT) To: gdb-patches@sourceware.org Subject: [PATCH v3 3/4] gdb/python doc: Fix confusion between gdb.unwinders and gdb.unwinder Date: Fri, 3 Jun 2022 18:01:38 +0200 Message-Id: <20220603160139.136115-3-ptsneves@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220603160139.136115-1-ptsneves@gmail.com> References: <20220528115509.3865342-1-ptsneves@gmail.com> <20220603160139.136115-1-ptsneves@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Paulo Neves via Gdb-patches Reply-To: Paulo Neves Cc: Paulo Neves Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" Replace gdb.unwinders with gdb.unwinder. The gdb.unwinders module does not and trying to import it leads to errors. Other instances of the manual correctly refer to gdb.unwinder. --- gdb/doc/python.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 3e4833a4a41..e2821755851 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -2794,7 +2794,7 @@ class. Derive your unwinder class from it and structure the code as follows: @smallexample -from gdb.unwinders import Unwinder +from gdb.unwinder import Unwinder class FrameId(object): def __init__(self, sp, pc): @@ -2835,7 +2835,7 @@ gdb.unwinder.register_unwinder (, MyUnwinder, replace=) An object file, a program space, and the @value{GDBN} proper can have unwinders registered with it. -The @code{gdb.unwinders} module provides the function to register a +The @code{gdb.unwinder} module provides the function to register a unwinder: @defun gdb.unwinder.register_unwinder (locus, unwinder, replace=False) -- 2.25.1