From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31215 invoked by alias); 26 Jul 2008 17:35:48 -0000 Received: (qmail 31206 invoked by uid 22791); 26 Jul 2008 17:35:48 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 26 Jul 2008 17:35:27 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 05AEF98376; Sat, 26 Jul 2008 17:35:15 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id D80B998139; Sat, 26 Jul 2008 17:35:09 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KMnfg-00048A-J2; Sat, 26 Jul 2008 13:35:08 -0400 Date: Sat, 26 Jul 2008 17:35:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: Eli Zaretskii , Thiago Jung Bauermann , gdb-patches@sourceware.org Subject: Re: [RFA][patch 1/9] Yet another respin of the patch with initial Python support Message-ID: <20080726173508.GA16470@caradoc.them.org> Mail-Followup-To: Tom Tromey , Eli Zaretskii , Thiago Jung Bauermann , gdb-patches@sourceware.org References: <20080528205921.GA2969@caradoc.them.org> <20080615181833.uxmo25mg0kko40kw@imap.linux.ibm.com> <1216107418.14956.27.camel@localhost.localdomain> <1216245620.12209.18.camel@localhost.localdomain> <20080718195010.GA14356@caradoc.them.org> <1216653969.31797.6.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00484.txt.bz2 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