From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62664 invoked by alias); 11 Apr 2015 19:20:29 -0000 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 Received: (qmail 62653 invoked by uid 89); 11 Apr 2015 19:20:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 11 Apr 2015 19:20:28 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 9995B8E68B; Sat, 11 Apr 2015 19:20:27 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-116-27.ams2.redhat.com [10.36.116.27]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t3BJKNCk004293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 11 Apr 2015 15:20:26 -0400 Date: Sat, 11 Apr 2015 19:20:00 -0000 From: Jan Kratochvil To: Eli Zaretskii Cc: gdb-patches@sourceware.org, pmuldoon@redhat.com Subject: Re: [PATCH v2 7/9] compile: New 'compile print' Message-ID: <20150411192023.GA22577@host1.jankratochvil.net> References: <20150406172623.31404.58833.stgit@host1.jankratochvil.net> <20150406172716.31404.8551.stgit@host1.jankratochvil.net> <83bnj1jgsw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83bnj1jgsw.fsf@gnu.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00421.txt.bz2 On Mon, 06 Apr 2015 19:41:03 +0200, Eli Zaretskii wrote: > Perhaps "by using the compiler" or "by compiling and running it"? "by compiling" is not clear to me it uses gcc. Used the first one. > > +Alternatively, you can type the expression interactively.\n\ > > +You can invoke this mode when no argument is given to the command\n\ > > +(i.e., \"compile print\" is typed with nothing after it). An\n\ > > +interactive prompt will be shown allowing you to enter multiple\n\ > > +lines of source code. Type a line containing \"end\" to indicate\n\ > > +the end of the source code.\n\ > > I suggest to rephrase: > > Alternatively, you can type a multiline expression by invoking > this command with no argument. GDB will then prompt for the > expression interactively; type a line containing "end" to > indicate the end of the expression. OK; although the same text was also at the "compile code" command so I have also updated it in this patch. Thanks, Jan