[patch] More suggestive error_is_running message
Sergio Durigan Junior
sergiodj@redhat.com
Tue Apr 10 21:30:00 GMT 2012
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
More information about the Gdb-patches
mailing list