This is the mail archive of the gdb-patches@sourceware.org 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: Don't query extra info about the internal main thread


On Thu, Jul 24, 2008 at 04:09:35PM +0100, Pedro Alves wrote:
> Hi,
> 
> A couple of weeks ago, Dmitry Smirnov reported that GDB was trying to get
> qThreadExtraInfo out of his target and it was damaging his debug session, as 
> GDB complained about a protocol error -- because the reply that came back
> was ill-formed.
> 
> If the remote side doesn't have any thread support, there's no use in
> querying info about the main thread that GDB added internally.  One would
> expect stubs that don't support threads to return empty to this optional
> packet, but his report showed that it's better to not rely on
> stubs behaving.
> 
> Tested against gdbserver with and without --disable-packet=threads.
> 
> OK?

OK.

-- 
Daniel Jacobowitz
CodeSourcery


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