This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New scope checking patch


>>>>> "Rob" == Rob Quill <rob.quill@gmail.com> writes:

Rob> 2008-07-27   Rob Quill <rob.quill@gmail.com>
Rob> 	Add $in_scope as a type of expression.

This seems like a good candidate for an internal function.  The syntax
is nearly identical.

The only difference is that, at the GCC Summit, we agreed that
arguments to internal functions would be expressions.  So, instead of
$in_scope(x) you would have to write $in_scope("x").

Internal functions are only in the python repository right now.  The
patch consists of two parts: an internals-only part, and the part that
exposes the functionality to the Python layer.

I think we can submit the internals part as a separate patch.  AFAIK
the only reason we haven't is just that there's been no need for it
outside the Python work.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]