From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Kleck To: insight@sourceware.cygnus.com Subject: thread support Date: Wed, 28 Mar 2001 08:28:00 -0000 Message-id: <3AC211CE.644D6BAC@netergynet.com> X-SW-Source: 2001-q1/msg00374.html 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? JimK