[RFC] Debug Operators with GDB Python

Siva Chandra sivachandra@google.com
Fri Dec 7 19:02:00 GMT 2012


Siva> I would like to implement operators first, and implement
Siva> methods (or as Doug suggests, extend it to any function) as the next
Siva> step. We might, during the implementation of the methods feature, move
Siva> things we added for the operators feature to a common place. Does it
Siva> sound like an acceptable plan?

Tom> I think it seems weird if you are actually planning to do the next step.
Tom> Why mess around with something you'll probably end up deprecating in
Tom> favor of the more general solution?

No. I don't mean to deprecate the first step. What I mean when I say
"move things" is that we might end up refactoring the implementation
mechanics of the operators only feature when we implement the
functions/methods feature. As I have said in another mail, I want to
treat operators and functions/methods as two separate features. I want
to do this because I want operators to be available in all languages.
If we treat operators to be functions/methods, we will probably be
limiting this feature to C++.



More information about the Gdb-patches mailing list