Re: [RFC][patch 1/9] initial Python support

Tom Tromey
2008-06-23T17:25:57Z

>>>>> "Thiago" == thiagoju <thiagoju@linux.ibm.com> writes:

>> > + if (PyErr_Occurred ())
>> > + {
>> > + PyErr_Print ();
>> > + error ("error while executing Python code");
>> > + }
>> > +}

>> _() around arguments to error. Also, in general PyErr_Print is
>> probably dumping to stderr? Output should go through GDB's error
>> mechanisms, and in this case probably be part of the argument to
>> error. Can you get it to return an error string instead?

Thiago> This is stillpending, I think.

Yeah, this one is still pending.
I haven't dug into what to do here yet... feel free to take it if you
want :). Otherwise I will get to it when I'm a bit more caught up.

Tom