From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13992 invoked by alias); 30 Nov 2010 17:02:36 -0000 Received: (qmail 13979 invoked by uid 22791); 30 Nov 2010 17:02:34 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,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; Tue, 30 Nov 2010 17:02:30 +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.13.8/8.13.8) with ESMTP id oAUH2Sok019467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 30 Nov 2010 12:02:28 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oAUH2JXY027808 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Nov 2010 12:02:27 -0500 Received: from host0.dyn.jankratochvil.net (localhost.localdomain [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id oAUH2IdP004551; Tue, 30 Nov 2010 18:02:18 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id oAUH2FBL004543; Tue, 30 Nov 2010 18:02:15 +0100 Date: Tue, 30 Nov 2010 17:02:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: gdb-patches@sourceware.org, Phil Muldoon Subject: Re: RFC: next/finish/etc -vs- exceptions Message-ID: <20101130170215.GA4309@host0.dyn.jankratochvil.net> References: <20101125075847.GA19270@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: 2010-11/txt/msg00503.txt.bz2 On Tue, 30 Nov 2010 17:43:28 +0100, Tom Tromey wrote: > I looked briefly at using breakpoint_ops, but it seems like it would > require a bunch of new methods that are specific to just this > breakpoint. Maybe that is the way to go? One day probably. > Jan> It probably should not be placed in TP. If we are > Jan> stepping/until-ing/etc. some code and execute some breakpoint's > Jan> command list trying to step/next/etc. again already from a > Jan> different frame it won't work. But this is a problem for most of > Jan> the TP variables already so that's OK for this patch. It should be > Jan> carried over from the set-breakpoint to resume-breakpoint > Jan> otherwise. > > I thought that gdb did not support nested inferior-control commands like > this. > > It would be a nice feature. I was thinking Phil was coding something like that with Python commands attached to breakpoints. It would need more fixes but I was just pointing out an incompatibility also in this code. With current GDB it seems OK to me. > >> +if { [compile_java_from_source ${srcdir}/$subdir/${srcfile} ${binfile} "-g"] != "" } { > >> + untested "Couldn't compile ${srcdir}/$subdir/${srcfile}" > >> + return -1 > > Jan> maybe prepare_for_testing? > Jan> (nitpick) > > I left this as-is. compile_java_from_source does some extra processing > right now. I see now, sorry. Thanks, Jan