public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* gdbserver for threaded application
@ 2000-04-25 13:06 Laurent Morichetti
  2000-04-26  2:26 ` Amit S. Kale
  0 siblings, 1 reply; 3+ messages in thread
From: Laurent Morichetti @ 2000-04-25 13:06 UTC (permalink / raw)
  To: gdb

Hi,

Which gdbserver should I use to remote debug a threaded application on
linux? The one I have does not seem to understand the thread queries.

-Laurent

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gdbserver for threaded application
  2000-04-25 13:06 gdbserver for threaded application Laurent Morichetti
@ 2000-04-26  2:26 ` Amit S. Kale
  2000-04-26  2:38   ` Amit S. Kale
  0 siblings, 1 reply; 3+ messages in thread
From: Amit S. Kale @ 2000-04-26  2:26 UTC (permalink / raw)
  To: Laurent Morichetti, gdb

On Wed, 26 Apr 2000, Laurent Morichetti wrote:
> Hi,
>=20
> Which gdbserver should I use to remote debug a threaded application on
> linux? The one I have does not seem to understand the thread queries.

I am not sure about what kind of support you want to thread queries for
gdbserver.

I made the gdb stub used in x86 linux kernel ( for kernel debugging ) und=
erstand
thread queries sometime back.


>=20
> -Laurent
--=20
Amit Kale
Veritas Software ( http://www.veritas.com )

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gdbserver for threaded application
  2000-04-26  2:26 ` Amit S. Kale
@ 2000-04-26  2:38   ` Amit S. Kale
  0 siblings, 0 replies; 3+ messages in thread
From: Amit S. Kale @ 2000-04-26  2:38 UTC (permalink / raw)
  To: Laurent Morichetti, gdb

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 )

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-04-26  2:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-25 13:06 gdbserver for threaded application Laurent Morichetti
2000-04-26  2:26 ` Amit S. Kale
2000-04-26  2:38   ` Amit S. Kale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).