From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19972 invoked by alias); 3 Aug 2012 14:31:06 -0000 Received: (qmail 19959 invoked by uid 22791); 3 Aug 2012 14:31:05 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD 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, 03 Aug 2012 14:30:46 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q73EUH31016033 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 3 Aug 2012 10:30:17 -0400 Received: from host2.jankratochvil.net (ovpn-116-17.ams2.redhat.com [10.36.116.17]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q73EUCWO022221 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 3 Aug 2012 10:30:15 -0400 Date: Fri, 03 Aug 2012 14:31:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: Pedro Alves , Sergio Durigan Junior , Edjunior Barbosa Machado , Philippe Waroquiers , Joel Brobecker , gdb-patches@sourceware.org, "Maciej W. Rozycki" Subject: Re: [commit+7.5] [patchv2] Write bpt at the ON_STACK bpt address Message-ID: <20120803143011.GA32485@host2.jankratochvil.net> References: <5012B1B6.1030003@redhat.com> <1343339398.2258.119.camel@soleil> <20120727184633.GA14182@host2.jankratochvil.net> <20120731073643.GA18696@host2.jankratochvil.net> <501B03E4.1020209@linux.vnet.ibm.com> <501B2271.6030406@redhat.com> <87lihwoy14.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87lihwoy14.fsf@fleche.redhat.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: 2012-08/txt/msg00111.txt.bz2 On Fri, 03 Aug 2012 16:22:47 +0200, Tom Tromey wrote: > >>>>> "Pedro" == Pedro Alves writes: > > Pedro> Curious. But is the cause the same? If something sending C-c to gdb > Pedro> at the "wrong" time? > > It could be any exception thrown at the wrong spot in any sniffer. > It would be interesting to know exactly where the original exception is > thrown. I am still not sure that my fix is the correct one. Maybe it > really is better to fix the sniffers. Or maybe do both. Yes, IMO it would be better. During the sniffers entryval virtual tailcall frames path evaluation gets in effect which heavily throws exceptions and successfully TRY_CATCHes them. I am not aware of any problem there, just the exceptions are common nowadays due to it during unwinding. Thanks, Jan