Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Eager <eager@eagerm.com>
To: "taylor, david" <david.taylor@emc.com>,
	"gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: Remote Serial Protocol -- reply to '?' when target running
Date: Tue, 09 Aug 2016 19:33:00 -0000	[thread overview]
Message-ID: <57AA2FF3.6000900@eagerm.com> (raw)
In-Reply-To: <63F1AEE13FAE864586D589C671A6E18B06C4AB@MX203CL03.corp.emc.com>

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


  reply	other threads:[~2016-08-09 19:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-09 17:34 Michael Eager
2016-08-09 18:41 ` taylor, david
     [not found]   ` <57AA2A19.2030509@eagerm.com>
2016-08-09 19:28     ` taylor, david
2016-08-09 19:33       ` Michael Eager [this message]
2016-08-09 19:15 ` Gareth McMullin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57AA2FF3.6000900@eagerm.com \
    --to=eager@eagerm.com \
    --cc=david.taylor@emc.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox