This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Execute code in python pretty printers
- From: Tom Tromey <tromey at redhat dot com>
- To: Niko Sams <niko dot sams at gmail dot com>
- Cc: gdb <gdb at sourceware dot org>
- Date: Mon, 29 Jun 2009 11:07:54 -0600
- Subject: Re: Execute code in python pretty printers
- References: <629542d40906281214x73c3b505nfeb7e7eecfb1f708@mail.gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "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.
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.
Tom