This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] More suggestive error_is_running message


On Tuesday, April 10 2012, Jan Kratochvil wrote:

> --- a/gdb/infrun.c
> +++ b/gdb/infrun.c
> @@ -3038,7 +3045,9 @@ void
>  error_is_running (void)
>  {
>    error (_("Cannot execute this command while "
> -	   "the selected thread is running."));
> +	   "the selected thread is running.  "
> +	   "(You may want to use 'interrupt' "
> +	   "and wait for '[Thread N] #1 stopped.'.)"));
>  }

Sorry for the nitpick: I guess we use `' (as in `interrupt'), and not ''.

-- 
Sergio


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]