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: [RFC] Debug Operators with GDB Python


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++.


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