From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24361 invoked by alias); 9 Aug 2016 19:33:20 -0000 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 Received: (qmail 24347 invoked by uid 89); 9 Aug 2016 19:33:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Hx-languages-length:1480, Our, our, Park X-HELO: homiemail-a43.g.dreamhost.com Received: from sub5.mail.dreamhost.com (HELO homiemail-a43.g.dreamhost.com) (208.113.200.129) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 09 Aug 2016 19:33:09 +0000 Received: from homiemail-a43.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a43.g.dreamhost.com (Postfix) with ESMTP id D3FC2600281D; Tue, 9 Aug 2016 12:33:07 -0700 (PDT) Received: from vm-fedora21.eagercon.com (c-71-202-23-94.hsd1.ca.comcast.net [71.202.23.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: eager@eagerm.com) by homiemail-a43.g.dreamhost.com (Postfix) with ESMTPSA id B0130600281A; Tue, 9 Aug 2016 12:33:07 -0700 (PDT) Subject: Re: Remote Serial Protocol -- reply to '?' when target running To: "taylor, david" , "gdb@sourceware.org" References: <57AA13FC.2000707@eagerm.com> <63F1AEE13FAE864586D589C671A6E18B06C467@MX203CL03.corp.emc.com> <57AA2A19.2030509@eagerm.com> <63F1AEE13FAE864586D589C671A6E18B06C4AB@MX203CL03.corp.emc.com> From: Michael Eager Message-ID: <57AA2FF3.6000900@eagerm.com> Date: Tue, 09 Aug 2016 19:33:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <63F1AEE13FAE864586D589C671A6E18B06C4AB@MX203CL03.corp.emc.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00012.txt.bz2 On 08/09/2016 12:27 PM, taylor, david wrote: > >> From: Michael Eager [mailto:eager@eagerm.com] >> Sent: Tuesday, August 09, 2016 3:08 PM >> To: taylor, david; gdb@sourceware.org >> Subject: Re: Remote Serial Protocol -- reply to '?' when target running >> >> On 08/09/2016 11:40 AM, taylor, david wrote: >>>> From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] >> On >>>> Behalf Of Michael Eager > >> The JTAG pod I'm using does not respond with "QNonStop+" in response >> to "qSupported". Perhaps it should. > > Our stub sets it and I also do 'set non-stop on' in my .gdbinit file. The entry in > my .gdbinit might predate the stub returning it, I don't recall. > >> The JTAG pod does respond to '?' with OK. After a few other exchanges, >> gdb goes into a wait, waiting to receive something from the target. >> >> What do you do? Send a stop reply packet when the target stops? > > Our target typically has 80-110 threads when I connect. > We support asynchronous notifications as well. > > When GDB connects to the target, a thread is created to service GDB. > If multiple GDB's connect, multiple threads get created -- each dedicated > to a specific GDB. > > There's also a networking thread and a bunch of other threads. > > Our target never stops. Individual threads? Yes. The target as a whole? No. Thanks. -- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077