Update gdb.Symbol.is_variable documentation

Kévin found a bug in an earlier version of this series that was based
on a misconception I had about Symbol.is_variable.  This patch fixes
the documentation to explain the method a bit better.

Approved-By: Eli Zaretskii <eliz@gnu.org>
(cherry picked from commit 5006ea556dad71c4c868cf5705e007e72e3b02b4)
This commit is contained in:
Tom Tromey
2023-10-31 09:16:08 -06:00
parent add31fcb87
commit 1df83e9a59

View File

@ -5984,7 +5984,9 @@ local variables will require a frame, but other symbols will not.
@end defvar
@defvar Symbol.is_variable
@code{True} if the symbol is a variable.
@code{True} if the symbol is a variable, as opposed to something like
a function or type. Note that this also returns @code{False} for
arguments.
@end defvar
A @code{gdb.Symbol} object has the following methods: