Porting gdb to Cyclops64

Brian Heilig bheilig@etinternational.com
Fri Jul 30 18:53:00 GMT 2010

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

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,

More information about the Gdb mailing list