From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12712 invoked by alias); 20 Jul 2010 19:43:41 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 12701 invoked by uid 22791); 20 Jul 2010 19:43:40 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Jan Kratochvil Cc: Oleg Nesterov , archer@sourceware.org Subject: Re: BUG? gdb, non-stop && c -a In-Reply-To: Jan Kratochvil's message of Tuesday, 20 July 2010 16:11:55 +0200 <20100720141155.GA16382@host1.dyn.jankratochvil.net> 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> Message-Id: <20100720194332.88ADA40162@magilla.sf.frob.com> Date: Tue, 20 Jul 2010 19:43:00 -0000 X-SW-Source: 2010-q3/txt/msg00050.txt.bz2 > non-stop mode should be generally used together with: > (gdb) set target-async on IMHO if gdb confuses itself without these settings being in lock-step, there should only be one setting. > > Now it sends "vCont;c:p4745.4745" and resumes the main thread. But > > now gdb doesn't react to ^C and "hangs". (no, SIGINT is not blocked). > > 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. Thanks, Roland