This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][patch 1/9] initial Python support
- From: Tom Tromey <tromey at redhat dot com>
- To: thiagoju at linux dot ibm dot com
- Cc: Daniel Jacobowitz <drow at false dot org>, Thiago Jung Bauermann <bauerman at br dot ibm dot com>, gdb-patches at sourceware dot org
- Date: Mon, 23 Jun 2008 11:25:30 -0600
- Subject: Re: [RFC][patch 1/9] initial Python support
- References: <20080429155212.444237503@br.ibm.com> <20080429155304.288626880@br.ibm.com> <20080528205921.GA2969@caradoc.them.org> <20080615181833.uxmo25mg0kko40kw@imap.linux.ibm.com>
- Reply-to: tromey at redhat dot com
>>>>> "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