From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3431 invoked by alias); 12 Aug 2011 14:44:31 -0000 Received: (qmail 3421 invoked by uid 22791); 12 Aug 2011 14:44:30 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 12 Aug 2011 14:44:14 +0000 Received: (qmail 461 invoked from network); 12 Aug 2011 14:44:13 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 12 Aug 2011 14:44:13 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [patch] python prompt additions at first prompt. Date: Fri, 12 Aug 2011 14:44:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-10-generic; KDE/4.7.0; x86_64; ; ) Cc: Matt Rice , Tom Tromey References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201108121544.09810.pedro@codesourcery.com> 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/msg00245.txt.bz2 On Friday 12 August 2011 14:10:17, Matt Rice wrote: > it seems clearer to return early in all sync_execution cases, and > limit the potential for introducing the double prompting type of bug. > I haven't been able to find any problems with this approach. I think this breaks the pagination prompt in async mode. Try setting a breakpoint in a loop, with a command list that just continues: (gdb) b inloop (gdb) commands Type commands for breakpoint(s) 2, one per line. End with a line saying just "end". >c >end (gdb) c -- Pedro Alves