This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: gdbserver for threaded application
On Wed, 26 Apr 2000, Amit S. Kale wrote:
> On Wed, 26 Apr 2000, Laurent Morichetti wrote:
> > Hi,
> >=20
> > Which gdbserver should I use to remote debug a threaded application o=
n
> > linux? The one I have does not seem to understand the thread queries.
>=20
> I am not sure about what kind of support you want to thread queries for
> gdbserver.
>=20
> I made the gdb stub used in x86 linux kernel ( for kernel debugging ) u=
nderstand
> thread queries sometime back.
Sorry!
I was going to send this mail later but accidentaly sent it without compl=
eting.
I was thinking about feasibility of implementing it.
OK. I looked at gdbserver code, there are number of differences in how a =
user
level gdb stub accesses a thread compared to a kernel level gdb stub. The=
stub
I have handles thread queries easily because any thread is directly acces=
sible
inside the kernel. gdbserver will have to intercept all clone calls and k=
eep
track of threads.
I plan to implement it this weekend.
> >=20
> > -Laurent
> --=20
> Amit Kale
> Veritas Software ( http://www.veritas.com )
--=20
Amit Kale
Veritas Software ( http://www.veritas.com )