From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4040 invoked by alias); 2 May 2008 15:37:18 -0000 Received: (qmail 4028 invoked by uid 22791); 2 May 2008 15:37:18 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 02 May 2008 15:36:58 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id A3B62983DA; Fri, 2 May 2008 15:36:56 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 86411983D6; Fri, 2 May 2008 15:36:56 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JrxJf-00019M-KU; Fri, 02 May 2008 11:36:55 -0400 Date: Fri, 02 May 2008 15:38:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: gdb-patches@sourceware.org, Pierre Muller Subject: Re: continuations and breakpoint commands Message-ID: <20080502153655.GO29202@caradoc.them.org> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org, Pierre Muller References: <200804292221.52239.pedro@codesourcery.com> <200804301416.19459.pedro@codesourcery.com> <000001c8aad0$4d7cc080$e8764180$@u-strasbg.fr> <200804301559.34896.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804301559.34896.pedro@codesourcery.com> User-Agent: Mutt/1.5.17 (2007-12-11) 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: 2008-05/txt/msg00092.txt.bz2 On Wed, Apr 30, 2008 at 03:59:34PM +0100, Pedro Alves wrote: > > What happens to the already typed chars in the > > case of a prompt switch? > > > > No sure I understood that. When the inferior is running in > sync execution, any typed character goes to the inferior, while > in async execution the terminal stays with GDB and GDB interprets > any command you pass to it. I think he's asking what happens when the program hits a breakpoint while you're mid-typing. I assume we print some output and readline redraws the prompt line? -- Daniel Jacobowitz CodeSourcery