Re: [PATCH libstdc++ v3] - Add xmethods for std::vector and std::unique_ptr

2014-08-26 Thread Jonathan Wakely
Shouldn't there be a change to python/Makefile.am so that xmethods.py gets installed alongside printers.py? Otherwise you can use these new xmethods in the libstdc++ testssuite, but they're not available to users. I'd also expect something to call the register_libstdcxx_xmethods function automati

Re: [PATCH libstdc++ v3] - Add xmethods for std::vector and std::unique_ptr

2014-08-26 Thread Siva Chandra
Friendly ping. On Wed, Aug 13, 2014 at 7:50 AM, Jonathan Wakely wrote: > On 13 August 2014 14:55, Siva Chandra wrote: >> Ping. Any update on this? > > No, I haven't committed it yet, but I will get round to it. > >> On Wed, Aug 6, 2014 at 6:37 AM, Siva Chandra wrote: >>> On Wed, Aug 6, 2014 at 2

Re: [PATCH libstdc++ v3] - Add xmethods for std::vector and std::unique_ptr

2014-08-13 Thread Jonathan Wakely
On 13 August 2014 14:55, Siva Chandra wrote: > Ping. Any update on this? No, I haven't committed it yet, but I will get round to it. > On Wed, Aug 6, 2014 at 6:37 AM, Siva Chandra wrote: >> On Wed, Aug 6, 2014 at 2:47 AM, Jonathan Wakely >> wrote: >>> Some GNU/Linux distros already build GDB u

Re: [PATCH libstdc++ v3] - Add xmethods for std::vector and std::unique_ptr

2014-08-13 Thread Siva Chandra
Ping. Any update on this? On Wed, Aug 6, 2014 at 6:37 AM, Siva Chandra wrote: > On Wed, Aug 6, 2014 at 2:47 AM, Jonathan Wakely wrote: >> Some GNU/Linux distros already build GDB using Python3, so they will >> be unable to use these xmethods. >> >> However, I think it can be committed now and fi

Re: [PATCH libstdc++ v3] - Add xmethods for std::vector and std::unique_ptr

2014-08-06 Thread Siva Chandra
On Wed, Aug 6, 2014 at 2:47 AM, Jonathan Wakely wrote: > Some GNU/Linux distros already build GDB using Python3, so they will > be unable to use these xmethods. > > However, I think it can be committed now and fixed later. For the libstdc++ side, it is a very small fix (using 'print' with functio

Re: [PATCH libstdc++ v3] - Add xmethods for std::vector and std::unique_ptr

2014-08-06 Thread Jonathan Wakely
On 5 August 2014 21:29, Siva Chandra wrote: > Hi Jonathan, > > Thanks a lot for taking a look. The patch in question, and the GDB > support, do not yet work with Python3. If that is a necessary > requirement, I can make the changes and send a new version of the > patch. Some GNU/Linux distros alre

Re: [PATCH libstdc++ v3] - Add xmethods for std::vector and std::unique_ptr

2014-08-05 Thread Siva Chandra
Hi Jonathan, Thanks a lot for taking a look. The patch in question, and the GDB support, do not yet work with Python3. If that is a necessary requirement, I can make the changes and send a new version of the patch. Thanks, Siva Chandra On Mon, Aug 4, 2014 at 2:36 AM, Jonathan Wakely wrote: > On

Re: [PATCH libstdc++ v3] - Add xmethods for std::vector and std::unique_ptr

2014-08-04 Thread Jonathan Wakely
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 av

[PATCH libstdc++ v3] - Add xmethods for std::vector and std::unique_ptr

2014-07-25 Thread Siva Chandra
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