From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id YK9aBOk0mmJ9IQoAWB0awg (envelope-from ) for ; Fri, 03 Jun 2022 12:20:57 -0400 Received: by simark.ca (Postfix, from userid 112) id 0E6B41E221; Fri, 3 Jun 2022 12:20:57 -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=sc5YhQwt; 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=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.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 A53141E143 for ; Fri, 3 Jun 2022 12:20:56 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F36513841446 for ; Fri, 3 Jun 2022 16:20:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F36513841446 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1654273256; bh=XsVAKtFsUrx5DJcWEU0kR3oj42gjOpzzx3yKVhBZwDg=; h=Date:To:In-Reply-To:Subject:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=sc5YhQwtk9pl9EIEuLAo0hJGKDPpQ3IMkLrYkfIQHWO5gsjHI4w5dooTKMhAEKKmq qraXj6KFisoYVP45Cgs4lliDnumimdbZS6O1vOCy90nzCXyrCO/FgR0BEBgHWf/lqP THmOd6fV4A8S+7uEfAYaZ8Mh4DM0WDAU7RLCMSQ8= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id E31FE38560BB for ; Fri, 3 Jun 2022 16:20:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E31FE38560BB Received: from fencepost.gnu.org ([2001:470:142:3::e]:55572) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxA2L-0004Zs-Du; Fri, 03 Jun 2022 12:20:36 -0400 Received: from [87.69.77.57] (port=4959 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxA2F-0000OA-EI; Fri, 03 Jun 2022 12:20:33 -0400 Date: Fri, 03 Jun 2022 19:20:40 +0300 Message-Id: <83wndxbtwn.fsf@gnu.org> To: Paulo Neves In-Reply-To: <20220603160139.136115-4-ptsneves@gmail.com> (message from Paulo Neves via Gdb-patches on Fri, 3 Jun 2022 18:01:39 +0200) Subject: Re: [PATCH v3 4/4] gdb/python doc: Move unwinder skeleton code References: <20220528115509.3865342-1-ptsneves@gmail.com> <20220603160139.136115-1-ptsneves@gmail.com> <20220603160139.136115-4-ptsneves@gmail.com> 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: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > Date: Fri, 3 Jun 2022 18:01:39 +0200 > From: Paulo Neves via Gdb-patches > Cc: Paulo Neves > > +@subheading Registering a Unwinder > + > +An object file, a program space, and the @value{GDBN} proper can have > +unwinders registered with it. > + > +The @code{gdb.unwinder} module provides the function to register a > +unwinder: > + > +@defun gdb.unwinder.register_unwinder (locus, unwinder, replace=False) > +@var{locus} is specifies an object file or a program space to which ^^ The "is" part should be deleted. > +@var{unwinder} is added. Passing @code{None} or @code{gdb} adds > +@var{unwinder} to the @value{GDBN}'s global unwinder list. First, @value{GDBN}, not @code{gdb}. And also, this sentence doesn't read well ("passing None or gdb adds..."), I guess it's some typo or missing or redundant word. Thanks.