This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Remote thread infos
- From: Fabian Cenedese <Cenedese at indel dot ch>
- To: gdb at sources dot redhat dot com
- Date: Tue, 16 Nov 2004 08:56:51 +0100
- Subject: Re: Remote thread infos
- References: <5.2.0.9.1.20040920113443.01d5fea8@NT_SERVER><5.2.0.9.1.20040920113443.01d5fea8@NT_SERVER>
>>The remote protocol can ask for thread info and more info (qThreadExtraInfo).
>>I couldn't find an explicit description about these fields in the manual.
>>However in the source code these fields are evaluated as follows:
>>sprintf(&display_buf[n], " State: %s,", threadinfo.display);
>>sprintf(&display_buf[n], " Priority: %s", threadinfo.more_display);
>>It's quite impossible to use these fields for other info as they are explicitely
>>prepended with "State" and "Priority". But the manual says: "... may
>>contain anything that the target OS thinks is interesting for gdb to tell
>>the user about the thread."
>
>Hmm, yes. I think they have something to do with eCos?
Don't know, I have never worked with eCos.
>>Is there a possibility to use these texts
>>from the CLI as well as MI without the prepended strings? If not
>>shouldn't the manual say what these texts are for?
>
>Would KOD be useful? Or a more descriptive packet?
Sorry, what means KOD?
>>I know that I can take the strings and remove the leading word, I
>>just thought I mention this inconsistency with the manual.
>>Thanks
bye Fabi