Re: [RFA][patch 1/9] Yet another respin of the patch with initial Python support

Eli Zaretskii
2008-08-04T19:22:59Z

> 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}.