Re: [PATCH v3 4/4] gdb/python doc: Move unwinder skeleton code

Eli Zaretskii via Gdb-patches
2022-06-03T16:20:57Z

> Date: Fri, 3 Jun 2022 18:01:39 +0200
> From: Paulo Neves via Gdb-patches <gdb-patches@sourceware.org>
> Cc: Paulo Neves <ptsneves@gmail.com>
>
> +@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.