This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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]

Re: Modify address of a gdb.Value


Tom Tromey wrote:

>>>>>> "Niko" == Niko Sams <niko.sams@gmail.com> writes:
> 
> Niko> I'm trying to write a pretty-printer for Qt QMap using python.
> 
> Niko> QMap uses the following code:
> Niko> static inline Node *concrete(QMapData::Node *node) {
> Niko>     return reinterpret_cast<Node *>(reinterpret_cast<char *>(node) - payload());
> Niko> }
> 
> Niko> How can I do such an operation with gdb.Value?
> 
> Nobody has implemented inferior function calls using Value yet.

Boo. Is this something hard, or is expected soon?

- Volodya



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]