This is the mail archive of the 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: Thread Support for remote debugging

GDB have remote thread support and works fine with remote multithread
to work with this feature you need have GDBSERVER with remote thread
In the middle of 2001 I was build own version GDBSERVER with remote thread
support (x86-linux target only).
GDB (this version only) have only one restriction, the connection to remote
target can by start only from console window, but after first breakpoints we
can use all GDB features with full mouse support.

Michal Korbel - Software engineer
Intel Technology Poland Sp. z o.o.; ul. Slowackiego 173; 80-298 Gdansk
tel. +48 58 34-81-726; fax: +48 58 34-81-505; mobile:+48 603-203-142 

-----Original Message-----
From: Michael Snyder []
Sent: Thursday, January 31, 2002 9:41 PM
To: Sarnath K - CTD, Chennai.
Subject: Re: Thread Support for remote debugging

"Sarnath K - CTD, Chennai." wrote:
> Hi,
>  I have been browsing the mail archives for
> knowing the current state of thread support
> while doing remote debugging using GDB.
>  Although a lot of discussions have happened,
> I am not able to find the current state of work
> in that area.

By "knowing the current state of thread support",
do you mean finding out whether the remote target
supports thread debugging?  

If GDB sends the remote target a request that the
remote target does not support, there is a well-defined
way in which the remote target should respond (I believe
it is by sending an empty response).

>  I downloaded the latest GDB sources. It doesnt
> support thread commands during remote debugging.
> May I know what is the state of work in this area ?
> Is there any patch available for this ?

I don't understand.  GDB implements the remote protocol
for thread support.  There are queries defined for asking
the target for the current thread ID, changing the current
thread ID, asking for a list of "live" threads, asking 
whether a particular thread is alive...

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