From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5599 invoked by alias); 1 Feb 2008 16:16:07 -0000 Received: (qmail 5589 invoked by uid 22791); 1 Feb 2008 16:16:06 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 01 Feb 2008 16:15:49 +0000 Received: (qmail 1932 invoked from network); 1 Feb 2008 16:15:46 -0000 Received: from unknown (HELO localhost) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 1 Feb 2008 16:15:46 -0000 From: Vladimir Prus To: "Doug Evans" Subject: Re: [RFA] Make mi_cmd_break_insert exception-safe. Date: Fri, 01 Feb 2008 16:16:00 -0000 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) References: <200801271715.08542.vladimir@codesourcery.com> <200802011749.42119.vladimir@codesourcery.com> In-Reply-To: Cc: gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802011915.44058.vladimir@codesourcery.com> 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-02/txt/msg00018.txt.bz2 On Friday 01 February 2008 18:45:39 you wrote: > On Feb 1, 2008 6:49 AM, Vladimir Prus wrote: > > > > On Friday 01 February 2008 17:24:39 Daniel Jacobowitz wrote: > > > On Fri, Feb 01, 2008 at 09:53:46AM +0300, Vladimir Prus wrote: > > > > So, why bother trying to make gdb_breakpoint non-throwing? I believe > > > > any such change will be at least as complex as making mi_cmd_break_insert > > > > exception-safe? If your concern is about gdb_ prefix, how about renaming > > > > gdb_exception into 'set_breakpoint'? > > > > > > That's fine too. > > > > What about the following, then? > > Heh. Or rename the function. :-) Which the patch does, in fact. - Volodya