From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7232 invoked by alias); 7 Dec 2010 15:51:30 -0000 Received: (qmail 7222 invoked by uid 22791); 7 Dec 2010 15:51:29 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,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, 07 Dec 2010 15:51:23 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oB7FpJHT002106 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 7 Dec 2010 10:51:19 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oB7FpIx3019480; Tue, 7 Dec 2010 10:51:18 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id oB7FpHbI003755; Tue, 7 Dec 2010 10:51:18 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 8E1CC3780EF; Tue, 7 Dec 2010 08:51:17 -0700 (MST) From: Tom Tromey To: Marc Khouzam Cc: "'Jan Kratochvil'" , "'gdb\@sourceware.org'" Subject: Re: Using telnet to control a running GDB References: <20101129025627.GA4356@host0.dyn.jankratochvil.net> <20101129185524.GA13721@host0.dyn.jankratochvil.net> Date: Tue, 07 Dec 2010 15:51:00 -0000 In-Reply-To: (Marc Khouzam's message of "Mon, 6 Dec 2010 21:50:00 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-12/txt/msg00021.txt.bz2 >>>>> "Marc" == Marc Khouzam writes: Jan> [ You should have more experience with async/non-stop/MI than Jan> me, though. ] Marc> We don't always use aync/non-stop in Eclipse. It is up to the Marc> user to decide. Tom> I am curious to know why Eclipse works this way. Marc> From the discussions I have seen about non-stop, it seems some Marc> user feel the all-stop mode is more intuitive, while others prefer Marc> non-stop. Ok, thanks. I am usually confused about all the modes that gdb supports. Your explanation of non-stop makes sense to me. This has user-visible effects and could be "weird", especially if you are used to all-stop. And, I imagine that the reason for not always using async is just that it isn't universally supported -- you want to handle older GDB versions, and even with current GDB I suppose it is not supported by all targets. Is that the situation? TBH I think it would be better if we could remove some modes. For example, if we could make target-async either the default, or enabled automatically if the user uses some async command. Tom