This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New scope checking patch
On Jan 30, 2008 10:20 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> I actually think that this feature should be described in the node
> "Convenience Vars", not in "Variables". The latter describes how to
> refer to variables in the program being debugged; while $in_scope is
> related (and should perhaps be cross-referenced from "Variables"),
> that is not the right place for describing GDB built-ins.
That's kind of an interesting point. This is an entirely new kind of
entity: it's not a convenience variable, it's a convenience function,
or perhaps a new operator. I'm not sure where it should go. I'd
expect the primary description to be in "Expressions", in the part
that says, "GDB supports these operators, in addition to those common
to programming languages".