This is the mail archive of the gdb-patches@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: [RFC][patch 1/9] initial Python support


>>>>> "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


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