From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14299 invoked by alias); 5 May 2008 19:38:53 -0000 Received: (qmail 14291 invoked by uid 22791); 5 May 2008 19:38:53 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout5.012.net.il (HELO mtaout5.012.net.il) (84.95.2.13) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 05 May 2008 19:38:31 +0000 Received: from HOME-C4E4A596F7 ([83.130.255.47]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K0E0076BV838J11@i_mtaout5.012.net.il> for gdb-patches@sources.redhat.com; Mon, 05 May 2008 22:52:52 +0300 (IDT) Date: Mon, 05 May 2008 20:53:00 -0000 From: Eli Zaretskii Subject: Re: [RFA] bpstat_do_actions in one place In-reply-to: <20080505192315.GA19885@caradoc.them.org> X-012-Sender: halo1@inter.net.il To: Daniel Jacobowitz Cc: vladimir@codesourcery.com, gdb-patches@sources.redhat.com Reply-to: Eli Zaretskii Message-id: References: <200804242002.03590.vladimir@codesourcery.com> <200805051304.05449.vladimir@codesourcery.com> <20080505114824.GB22274@caradoc.them.org> <200805051658.32272.vladimir@codesourcery.com> <20080505192315.GA19885@caradoc.them.org> 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/msg00216.txt.bz2 > Date: Mon, 5 May 2008 15:23:15 -0400 > From: Daniel Jacobowitz > Cc: Vladimir Prus , > gdb-patches@sources.redhat.com > > On Mon, May 05, 2008 at 10:17:26PM +0300, Eli Zaretskii wrote: > > > From: Vladimir Prus > > > Date: Mon, 5 May 2008 16:58:31 +0400 > > > Cc: gdb-patches@sources.redhat.com > > > > > > Is there any documentation for how > > > 'quit' should generally work, especially inside breakpoint commands? > > > > "quit" is documented to exit GDB. What else is there to say? > > Sorry, quit at the "hit enter for more" prompt, not the quit command. Certain commands to GDB may produce large amounts of information output to the screen. To help you read all of it, GDB pauses and asks you for input at the end of each page of output. Type when you want to continue the output, or `q' to discard the remaining output. So it "discards the remaining output". But this `q' is not a command, just a one-letter response (GDB doesn't care what follows the initial `q'), just like it's sibling isn't a command, so there's no reason to expect that it will have _any_ effect inside breakpoint commands, or in any other context where GDB expects a command. Am I missing something?