This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 7/9] compile: New 'compile print'
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org, pmuldoon at redhat dot com
- Date: Sat, 11 Apr 2015 21:20:23 +0200
- Subject: Re: [PATCH v2 7/9] compile: New 'compile print'
- Authentication-results: sourceware.org; auth=none
- References: <20150406172623 dot 31404 dot 58833 dot stgit at host1 dot jankratochvil dot net> <20150406172716 dot 31404 dot 8551 dot stgit at host1 dot jankratochvil dot net> <83bnj1jgsw dot fsf at gnu dot org>
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