Re: BUG: gdb notification packets (Was: gdbstub initial code, v12)

2010-10-07 Thread Pedro Alves
On Thursday 07 October 2010 23:59:22, Oleg Nesterov wrote: Hmm. Not sure I understand this... gdb could issue a series of Hc+c after s to do step a thread and resume all others. But this doesn't matter. Obviously vCont is better and more handy. Not in all-stop mode. GDB can not send any

Re: BUG: gdb notification packets (Was: gdbstub initial code, v12)

2010-10-06 Thread Oleg Nesterov
On 10/05, Pedro Alves wrote: (reordered) On Tuesday 05 October 2010 18:27:29, Oleg Nesterov wrote: So, I strongly believe gdb is buggy and should be fixed. Fix your stub to implement vCont;s/c(/S/C). First of all, I confirm that when I added the (incomplete right now) support for vCont;s

Re: BUG: gdb notification packets (Was: gdbstub initial code, v12)

2010-10-06 Thread Pedro Alves
On Wednesday 06 October 2010 18:19:53, Oleg Nesterov wrote: On 10/05, Pedro Alves wrote: The stub must support @samp{vCont} if it reports support for multiprocess extensions (@pxref{multiprocess extensions}). Cough. Previously I was told here (on arc...@sourceware.org) that Hc + s/c is

Re: BUG: gdb notification packets (Was: gdbstub initial code, v12)

2010-10-05 Thread Pedro Alves
On Tuesday 05 October 2010 19:30:38, Pedro Alves wrote: Now, given this, I won't be surprised if you're seeing races with -s, -OK, -vCont sequences, as GDB may well be thinking that the OK is a reply to the vCont. I meant -s, -OK, -vStopped sequences. -- Pedro Alves