From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 8G8RNBIkkmKR4AgAWB0awg (envelope-from ) for ; Sat, 28 May 2022 09:30:58 -0400 Received: by simark.ca (Postfix, from userid 112) id D1CA11E221; Sat, 28 May 2022 09:30:58 -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=XtqH3Zd/; 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 19D461E01D for ; Sat, 28 May 2022 09:30:58 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BDBDE3841883 for ; Sat, 28 May 2022 13:30:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BDBDE3841883 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1653744657; bh=VGqRMoniymvfOCGJnEUhIAzIxhycXIQnpHcR5iKmCvY=; 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=XtqH3Zd/QNg+rsQvhF7iYCPiWcfAYEjt2ZR0gukDVZXhkyRxrCPrPVXmVKtVqf3Ce dOaWG4SpCIZwVNEDIzO3BrdXsu7/G6UAj8bRPM9RepvkuoxvedSsYVeZ953G4ilbB4 8Wa1tlUZzUtd7YFy82ZIwSREJVPUtTQbCkTZFNrw= Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by sourceware.org (Postfix) with ESMTPS id 5251D3841882 for ; Sat, 28 May 2022 13:29:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5251D3841882 Received: by mail-wr1-x42c.google.com with SMTP id p10so9066060wrg.12 for ; Sat, 28 May 2022 06:29:47 -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=VGqRMoniymvfOCGJnEUhIAzIxhycXIQnpHcR5iKmCvY=; b=AAuC+Z0jjKV+rVNqK6Hz1/iFKIH2umfG4+QeHzc93rlPRPdUjAgo7wUdbbU0bowBHl azsj4wuBnVcAVvnvT+UUarw+/rUtyFZyKjXc+G6CLssYuI3Dqq/o5kNz69nfwhw+8ufW NLdFaabqxFIiOoVphF3S0YcheRWUCkB6OQe0psVi9l1aoDknRZyt3A+QPE6XQRqrDcxe e6+JifcK8gusb9SHG8YOB/p+HJH7di0FRTIuYrc16y9n9fSPgVNOJh4k1lw3daW5G97O yTSgr2+Fo8muo8qIj7RSNj+LWhDAz6h9IOn0GkfYTD6oh7FIlJJQdUbewPBz6B1V4U67 kuvQ== X-Gm-Message-State: AOAM532CbR6rH4z0iAUq8os+rXpCTctt9mcF+kqnv3L0glnXih0O0Jp3 hP1MsN4ufzORck7UsuT/iG8ca0xr30VZ X-Google-Smtp-Source: ABdhPJxVeqDlEvoshYqiXQZOYgq81SWjQPjiZymbuv02TIngrd9JL2V7140pGGWcsCg1jAYJkh6kAw== X-Received: by 2002:a05:6000:1a8c:b0:20c:bd6b:ecaf with SMTP id f12-20020a0560001a8c00b0020cbd6becafmr38710555wry.341.1653744586106; Sat, 28 May 2022 06:29:46 -0700 (PDT) Received: from localhost.localdomain (83.11.64.124.ipv4.supernova.orange.pl. [83.11.64.124]) by smtp.gmail.com with ESMTPSA id f18-20020a05600c4e9200b003942a244f40sm5790043wmq.25.2022.05.28.06.29.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 06:29:45 -0700 (PDT) To: gdb-patches@sourceware.org Subject: [PATCH v2 3/3] gdb/python doc: Fix confusion between gdb.unwinders and gdb.unwinder Date: Sat, 28 May 2022 15:29:05 +0200 Message-Id: <20220528132905.3886575-3-ptsneves@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220528132905.3886575-1-ptsneves@gmail.com> References: <20220528115509.3865342-1-ptsneves@gmail.com> <20220528132905.3886575-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 444e332d752..59232750099 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -2785,7 +2785,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): @@ -2828,7 +2828,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