On 15/12/16 22:19 +0100, Jan Kratochvil wrote:
On Thu, 15 Dec 2016 15:18:17 +0100, Jonathan Wakely wrote:
I'm going to add Xmethods for all our iterator types so that it will
always be possible to do "print *iter", so if GDB supports Xmethods
then we don't need to register the iterator printers.

Just with the GDB 'compile' project (libcc1) which is planned to be used for
all GDB expressions evalation the Xmethods will no longer work.

Ah.

But then *it can just get compiled, so it will still work, right?

The only reason it doesn't work today is that the definition for
operator* might not be in the executable, but if you can compile a new
definition that doesn't matter.

Reply via email to