This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] More suggestive error_is_running message
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 10 Apr 2012 17:52:10 -0300
- Subject: Re: [patch] More suggestive error_is_running message
- References: <20120410191907.GA31331@host2.jankratochvil.net>
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