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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1299 bytes --]


> 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.
\x16º&ÖëzÛ«ŸŽvשb²Ö«r\x18\x1d

  parent reply	other threads:[~2016-08-09 19:28 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 [this message]
2016-08-09 19:33       ` Michael Eager
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=63F1AEE13FAE864586D589C671A6E18B06C4AB@MX203CL03.corp.emc.com \
    --to=david.taylor@emc.com \
    --cc=eager@eagerm.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