From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18796 invoked by alias); 26 Aug 2011 21:48:16 -0000 Received: (qmail 18786 invoked by uid 22791); 26 Aug 2011 21:48:16 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 26 Aug 2011 21:48:03 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7QLlr85011892 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 26 Aug 2011 17:47:53 -0400 Received: from host1.jankratochvil.net (ovpn-116-38.ams2.redhat.com [10.36.116.38]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p7QLlpTT027846 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Aug 2011 17:47:52 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p7QLlorD030572; Fri, 26 Aug 2011 23:47:50 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p7QLlov2030571; Fri, 26 Aug 2011 23:47:50 +0200 Date: Fri, 26 Aug 2011 21:48:00 -0000 From: Jan Kratochvil To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [patch 3/2] Do not bpstat_clear_actions on throw_exception - async fixes Message-ID: <20110826214750.GB27053@host1.jankratochvil.net> References: <20110823203520.GB4325@host1.jankratochvil.net> <201108241133.46693.pedro@codesourcery.com> <20110826210705.GB15507@host1.jankratochvil.net> <201108262238.16387.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201108262238.16387.pedro@codesourcery.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2011-08/txt/msg00520.txt.bz2 On Fri, 26 Aug 2011 23:38:15 +0200, Pedro Alves wrote: > Thanks. Checked in. Thanks, Jan http://sourceware.org/ml/gdb-cvs/2011-08/msg00121.html --- src/gdb/ChangeLog 2011/08/26 21:45:21 1.13285 +++ src/gdb/ChangeLog 2011/08/26 21:47:21 1.13286 @@ -1,5 +1,10 @@ 2011-08-26 Jan Kratochvil + * inf-loop.c (inferior_event_handler): Add exception_print in + INF_EXEC_COMPLETE. + +2011-08-26 Jan Kratochvil + * breakpoint.c (bpstat_do_actions): New variable cleanup_if_error, call make_bpstat_clear_actions_cleanup and discard_cleanups for it. * defs.h (make_bpstat_clear_actions_cleanup): New declaration. --- src/gdb/inf-loop.c 2011/08/26 21:45:22 1.35 +++ src/gdb/inf-loop.c 2011/08/26 21:47:21 1.36 @@ -121,6 +121,7 @@ { bpstat_do_actions (); } + exception_print (gdb_stderr, e); if (!was_sync && exec_done_display_p