This is the mail archive of the gdb@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] |
I think GDB is nearly written in a dialect of C++ already:
In all these cases, the C++ code is, in my opinion, simpler to read and write than the corresponding gdb code. It is also more regular; whereas in gdb some "virtual methods" take a 'this' pointer, some do not; some classes have destructors, some do not (these are both things I ran into on the Python branch). Finally, C++ provides better support for abstraction, specifically via access control.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |