public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Guinevere Larsen <blarsen@redhat.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH v2 4/5] gdb: introduce ability to disable frame unwinders
Date: Tue, 9 Apr 2024 10:33:50 -0300	[thread overview]
Message-ID: <5278bd11-8bfd-4e22-9d9b-22899769c148@redhat.com> (raw)
In-Reply-To: <86bk6jxnen.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1515 bytes --]

Thanks for the review. I'll fix everything else you mentioned.

On 4/8/24 23:47, Eli Zaretskii wrote:
>> +Disable or enable frame unwinders.  This is meant only as a testing tool, and
>> +@value{GDBN} is not guaranteed to work properly if it is unable to find
>> +valid frame unwinders.
>> +
>> +The meaning of each of the invocations are as follows:
>> +
>> +@table @samp
>> +@item @code{-all}
>> +Disable or enable all unwinders.
>> +@item @code{-name} @var{NAME}
>> +@var{NAME} is the exact name of the unwinder to be disabled or enabled.
>> +@item [@code{-class}] @var{CLASS}
>> +@var{CLASS} is the class of frame unwinders to be disabled or enabled.
>> +The class may include the prefix @code{FRAME_UNWINDER_}, but it is not
>> +required.
>> +@end table
>> +
>> +@var{NAME} and @var{CLASS} are always case insensitive.  If no option
>> +starting wth @code{-} is given, @value{GDBN} assumes @code{-class}.
> I think this command should be moved to after "maint info
> frame-unwinders", and it should say that the list of available
> unwinders is shown by that command.  Also, I suppose what you call
> "class" is what "maint info frame-unwinders" displays as "Type"?  Or
> is it something else?  If the latter, the manual should tell how to
> know which classes are available.

The unwinder class was introduced by patch 2 of this series (which I now 
realize I forgot to add NEWS and doc changes). Where would I add base 
information about frame unwinders like this?

-- 
Cheers,
Guinevere Larsen
She/Her/Hers

  reply	other threads:[~2024-04-09 13:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-08 20:19 [PATCH v2 0/5] Modernize frame unwinders and add disable feature Guinevere Larsen
2024-04-08 20:19 ` [PATCH v2 1/5] gdb: make gdbarch store a vector of frame unwinders Guinevere Larsen
2024-04-08 20:19 ` [PATCH v2 2/5] gdb: add "unwinder class" to " Guinevere Larsen
2024-04-08 20:19 ` [PATCH v2 3/5] gdb: Migrate frame unwinders to use C++ classes Guinevere Larsen
2024-04-12 14:40   ` Guinevere Larsen
2024-04-08 20:19 ` [PATCH v2 4/5] gdb: introduce ability to disable frame unwinders Guinevere Larsen
2024-04-09  2:47   ` Eli Zaretskii
2024-04-09 13:33     ` Guinevere Larsen [this message]
2024-04-09 14:08       ` Eli Zaretskii
2024-04-08 20:19 ` [PATCH v2 5/5] gdb/testsuite: Test for a backtrace through object without debuginfo Guinevere Larsen
2024-04-09 17:23 ` [PATCH v2 0/5] Modernize frame unwinders and add disable feature Guinevere Larsen
2024-04-24 12:47 ` [PING][PATCH " Guinevere Larsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5278bd11-8bfd-4e22-9d9b-22899769c148@redhat.com \
    --to=blarsen@redhat.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).