From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21475 invoked by alias); 17 Apr 2003 21:19:08 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 21468 invoked from network); 17 Apr 2003 21:19:08 -0000 Received: from unknown (HELO neon-gw.transmeta.com) (63.209.4.196) by sources.redhat.com with SMTP; 17 Apr 2003 21:19:08 -0000 Received: (from root@localhost) by neon-gw.transmeta.com (8.9.3/8.9.3) id OAA15241; Thu, 17 Apr 2003 14:18:11 -0700 Received: from mailhost.transmeta.com(10.1.1.15) by neon-gw.transmeta.com via smap (V2.1) id xma015208; Thu, 17 Apr 03 14:18:04 -0700 Received: from casey.transmeta.com (casey.transmeta.com [10.10.25.22]) by deepthought.transmeta.com (8.11.6/8.11.6) with ESMTP id h3HLI7a20353; Thu, 17 Apr 2003 14:18:07 -0700 (PDT) Received: (from dje@localhost) by casey.transmeta.com (8.9.3/8.7.3) id OAA31015; Thu, 17 Apr 2003 14:18:07 -0700 From: Doug Evans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16031.6671.349328.837129@casey.transmeta.com> Date: Thu, 17 Apr 2003 21:19:00 -0000 To: Daniel Jacobowitz Cc: Matt Thomas , Michael Snyder , gdb@sources.redhat.com Subject: Re: breakpoint commands and finish In-Reply-To: <20030417204953.GA26080@nevyn.them.org> References: <5.1.1.6.2.20030414135022.04175790@3am-software.com> <5.1.1.6.2.20030417114351.04b179c0@3am-software.com> <20030417201909.GA2867@nevyn.them.org> <16031.4562.644834.479261@casey.transmeta.com> <20030417204953.GA26080@nevyn.them.org> X-SW-Source: 2003-04/txt/msg00206.txt.bz2 Daniel Jacobowitz writes: > The macro facility isn't, but a command could be added to do this > without much trouble. For my own education, what's missing? > I would rather us discuss the semantics of > commands lists containing commands which resume the inferior. There > must be a more user-useful way to approach it than we do now. What if you allowed multiple "resume" commands in the "top level" breakpoint only, and allowed "nested" breakpoints only if they either stopped execution (in which case execution stops) or if the only "resume" they did was a tail-call-like continue. If a nested breakpoint's command list does a resumption with a non-tail-continue, execution stops.