Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Brian Heilig <bheilig@etinternational.com>
To: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: Porting gdb to Cyclops64
Date: Fri, 30 Jul 2010 18:53:00 -0000	[thread overview]
Message-ID: <1280515973.1560.30.camel@random> (raw)
In-Reply-To: <4C530B30.1000603@vmware.com>

On Fri, 2010-07-30 at 10:26 -0700, Michael Snyder wrote:
> Brian Heilig wrote:
> > 
> > Does gdb support the operation 'step the current thread and leave all
> > other threads stopped'?
> 
> Yes, see "set scheduler-locking".
> 
> http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/gdb/thread-stops.html
> 

Thank you.

When I attach to my remote target, if the target is running (not stopped
at a breakpoint) gdb currently doesn't know it and presents the gdb
prompt as if the inferior were stopped. Clearly I've not implemented the
protocol correctly in this case.

Should I stop the inferior when the client is attached? Or should I send
a response from my target that will indicate to gdb that it is currently
running?

Is there a reference for the most recent remote protocol? I'm sure I've
only implemented a small subset of the protocol, and that probably isn't
%100 correct.

Thanks again,
Brian



  reply	other threads:[~2010-07-30 18:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-30 17:13 Brian Heilig
2010-07-30 17:26 ` Michael Snyder
2010-07-30 18:53   ` Brian Heilig [this message]
2010-07-30 18:57     ` Michael Snyder
2010-07-30 20:28       ` Brian Heilig
2010-07-30 22:54         ` Michael Snyder
2010-07-30 23:18         ` Pedro Alves
2010-08-02 13:25           ` Brian Heilig
2010-08-02 13:35             ` Pedro Alves
2010-08-03 16:52               ` Brian Heilig
2010-08-05 13:56               ` Brian Heilig
2010-08-05 14:19                 ` Pedro Alves
2010-08-06 18:39                   ` Problems with non-stop - " Brian Heilig
2010-08-30 19:44                   ` Cyclops64 Multi-Process Brian Heilig

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=1280515973.1560.30.camel@random \
    --to=bheilig@etinternational.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