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: [RFA][patch 1/9] Yet another respin of the patch with initial Python support


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


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