Re: [PATCH v2 7/9] compile: New 'compile print'

Jan Kratochvil
2015-04-11T19:20:29Z

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