This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA][patch 1/9] Yet another respin of the patch with initial Python support
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- Cc: drow at false dot org, tromey at redhat dot com, gdb-patches at sourceware dot org
- Date: Mon, 04 Aug 2008 22:22:00 +0300
- Subject: Re: [RFA][patch 1/9] Yet another respin of the patch with 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> <1216107418.14956.27.camel@localhost.localdomain> <m3od4z3w0t.fsf@fleche.redhat.com> <m3k5fl3ncy.fsf@fleche.redhat.com> <1216245620.12209.18.camel@localhost.localdomain> <20080718195010.GA14356@caradoc.them.org> <1216653969.31797.6.camel@localhost.localdomain> <uwsj84wx5.fsf@gnu.org> <1217824267.9336.10.camel@localhost.localdomain>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Thiago Jung Bauermann <bauerman@br.ibm.com>
> Cc: drow@false.org, tromey@redhat.com, gdb-patches@sourceware.org
> Date: Mon, 04 Aug 2008 01:31:07 -0300
>
> On Sat, 2008-07-26 at 16:06 +0300, Eli Zaretskii wrote:
> > > +Evaluate @var{command}, a string, as a @value{GDBN} CLI command.
> > > +Exceptions are translated as noted above. If no error occurs, this
> > > +function will return @code{None}.
> >
> > The last sentence begs a question: what happens if errors _do_ occur?
>
> I suggest rewording this as:
>
> Evaluate @var{command}, a string, as a @value{GDBN} CLI command.
> If no error occurs, this function will return @code{None}. Otherwise,
> GDB exceptions are translated as noted above.
Oh, I didn't realize that error == exception here. In that case,
let's use the same term:
Evaluate @var{command}, a string, as a @value{GDBN} CLI command.
If a GDB exception happens while @var{command} runs, it is
translated as described above. If no exceptions occur, this
function returns @code{None}.