This is the mail archive of the
mailing list for the GDB project.
thread support (fwd)
- To: gdb at sources dot redhat dot com
- Subject: thread support (fwd)
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Wed, 28 Mar 2001 08:31:32 -0800 (PST)
- cc: jim dot kleck at NetergyNet dot COM
Another one from the Insight list...
---------- Forwarded message ----------
Date: Wed, 28 Mar 2001 08:31:10 -0800
From: Jim Kleck <jim.kleck@NetergyNet.COM>
Subject: thread support
We are working on an embedded target to add gdb support. We are using
insight 5.0. Everyting is going well except for one area: thread support.
I have been unable to figure out exactly what RSP packets are needed
and how to interpret them and their contents. In particular, it seems
that the gdb ThreadId is 1-based (when I return thrId = 0 for the "qC"
pkt, insight/gdb gets confused), whereas thread ids internal to the
target are 0-based. I have tried (external thrid = internal thrid + 1)
and this helped considerably but there are still problems. are there any
docs regarding this?