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

Daniel Jacobowitz
2008-07-26T17:35:48Z

On Sat, Jul 26, 2008 at 11:04:24AM -0600, Tom Tromey wrote:
> >> +In particular, a @value{GDBN} @code{QUIT} exception is translated to a
> >> +Python @code{KeyboardInterrupt} exception, and other @value{GDBN}
> >> +exceptions are translated to Python @code{RuntimeError}s.
>
> Eli> I think this is nowhere nearly as clear as it should be. Even to a C
> Eli> hacker, "QUIT exception" is not sufficiently self-explanatory. Do you
> Eli> mean SIGQUIT? then please say so.
>
> Daniel or some other gdb maintainer will have to suggest something.
> I don't know what else to call this. exceptions.h refers to "QUIT
> event", but also the enum value is "RETURN_QUIT"... maybe the latter?

For clarification, Tom's talking about "QUIT;" in the GDB sources.

No need to talk about the internal meaning for that part - we can just
talk about interrupting operations with Control-C. I'm not sure how
to explain "other exceptions"; just "other error conditions"?

--
Daniel Jacobowitz
CodeSourcery