This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Execute code in python pretty printers
On Mon, Jun 29, 2009 at 19:07, Tom Tromey<tromey@redhat.com> wrote:
>>>>>> "Niko" == Niko Sams <niko.sams@gmail.com> writes:
>
> Niko> For QModelIndex I'd like to show the parent QModelIndex as
> Niko> child.
>
> This reads very strangely :)
>
> Niko> So to find out the parent the method has to be executed.
> Niko> Is this possible?
>
> No, we have not implemented inferior function calls on Value yet.
ok, at least this means it should be possible...
Is this planned for 7.0?
> Note that even when it does work, it is not the friendliest thing to
> do. ?Doing this prevents your pretty-printers from working with core
> files.
I see. And I guess there is no way around it.
But better it works for normal debug session than never.
Niko