This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] remote: semantics of 'k' (kill) message


> Andrew, you recently added this comment:
> 
> ! FIXME: @emph{There is no description of how to operate when a specific
> ! thread context has been selected (ie.@: does 'k' kill only that thread?)}.
> 
> Maybe with a little discussion we can resolve this?
> I believe the 'k' message is only sent in one context:
> when the user asks gdb to kill the inferior process.
> On a native system, that is clearly interpreted as meaning
> to kill all of the threads.  Is there any reason why we
> should not agree that it means the same thing on an 
> embedded target?


Hmm, yes.  You're right.  I shouldn't be trying to specify ``future 
behavour'' in the protocol.  Rather it should just be specifying things 
based on GDB's existing behavour on a well implemented native system.

Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]