This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] |
On 25 July 2014 20:46, Siva Chandra wrote: > The attached patch is identical to v2 except that I rebased it over > the current head. > > To recollect, GDB now supports xmethods in its Python API: > https://sourceware.org/gdb/current/onlinedocs/gdb/Xmethods-In-Python.html > > This feature will be available in GDB starting version 7.8 (which has > not yet been released, but has been branched). The attached patch adds > xmethods to the classes std::vector and std::unique_ptr. One can of > course add xmethods to many other classes, but I am viewing this as > the first patch in that series (though not a series yet) to get the > basic infrastructure for adding more xmethods in place. > > Link to v1 posting: https://gcc.gnu.org/ml/gcc-patches/2014-06/msg02339.html > Link to v2 posting: https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00002.html > > ChangeLog > > 2014-07-25 Siva Chandra Reddy <sivachandra@google.com> > > * python/libstdcxx/v6/xmethods.py: New file. > * testsuite/lib/gdb-test.exp (gdb_version_check_xmethods): New > function. > (gdb-test): New optional argument LOAD_XMETHODS. Load xmethods > python script if LOAD_XMETHODS is true. > * testsuite/libstdc++-xmethods/unique_ptr.cc: New file. > * testsuite/libstdc++-xmethods/vector.cc: New file. > * testsuite/libstdc++-xmethods/xmethods.exp: New file. N.B. all patches for libstdc++ need to be sent to the libstdc++ mailing list as well as the gcc-patches list, to ensure the right reviewers see them. It looks like it should be OK, but do you know if the patch works with both Python2 and Python3?
Attachment:
libstdcxx-xmethods-v3.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |