From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8637 invoked by alias); 10 Apr 2012 20:52:40 -0000 Received: (qmail 8624 invoked by uid 22791); 10 Apr 2012 20:52:39 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Apr 2012 20:52:23 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3AKqMxX024556 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 10 Apr 2012 16:52:22 -0400 Received: from psique (ovpn-112-65.phx2.redhat.com [10.3.112.65]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q3AKqDaR031862; Tue, 10 Apr 2012 16:52:17 -0400 From: Sergio Durigan Junior To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [patch] More suggestive error_is_running message References: <20120410191907.GA31331@host2.jankratochvil.net> X-URL: http://www.redhat.com Date: Tue, 10 Apr 2012 21:30:00 -0000 In-Reply-To: <20120410191907.GA31331@host2.jankratochvil.net> (Jan Kratochvil's message of "Tue, 10 Apr 2012 21:19:07 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00195.txt.bz2 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