From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30092 invoked by alias); 21 Jul 2010 11:12:42 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 30081 invoked by uid 22791); 21 Jul 2010 11:12:41 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Wed, 21 Jul 2010 11:12:00 -0000 From: Oleg Nesterov To: Jan Kratochvil Cc: Roland McGrath , archer@sourceware.org Subject: Re: BUG? gdb, non-stop && c -a Message-ID: <20100721111020.GA13847@redhat.com> References: <20100718174851.GA15528@redhat.com> <20100716205147.GA26313@redhat.com> <20100719160127.GA13331@host1.dyn.jankratochvil.net> <20100720131615.GA17450@redhat.com> <20100720140136.GA18643@redhat.com> <20100720141155.GA16382@host1.dyn.jankratochvil.net> <20100720194332.88ADA40162@magilla.sf.frob.com> <20100721075644.GA5740@redhat.com> <20100721080958.GA19748@host1.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100721080958.GA19748@host1.dyn.jankratochvil.net> User-Agent: Mutt/1.5.18 (2008-05-17) X-SW-Source: 2010-q3/txt/msg00056.txt.bz2 On 07/21, Jan Kratochvil wrote: > > On Wed, 21 Jul 2010 09:56:44 +0200, Oleg Nesterov wrote: > > On 07/20, Roland McGrath wrote: > > > > CTRL-C is not useful in target-async mode. > > > > > > Now that's just a bug. Even if known and intended in the code, > > > it's clearly a misfeature from any sensible user perspective. > > > > To avoid the confusion, CTRL-C works with target-async && non-stop. > > It didn't work in my testing because I didn't know about > > "set target-async on" > > I was incorrect, not that CTRL-C would not be useful during target-async but > that one probably should use `(gdb) interrupt [-a]' to benefit from the > target-async mode at all. > info '(gdb)Background Execution' Yes. But, just in case, CTRL-C works too and does the same. Oleg.