This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
MI thread commands
- From: Fabian Cenedese <Cenedese at indel dot ch>
- To: gdb at sources dot redhat dot com
- Date: Fri, 01 Oct 2004 16:57:16 +0200
- Subject: MI thread commands
Hi
What was the intention behind -thread-info? It's not explained in the
manual and also not implemented (so much to "Read the source, Luke").
Should this bring the info that is available with "info threads" but for only
one thread? Is there another possibility to get e.g. the thread name?
I made my try with the -thread-list-all-threads command, but I'm not
sure about the output format as it's nowhere described (Hey Bob, I
need your rules :) Is this sensible? Or is it one level too much (the
"threads=" level)?
^done,threads=[thread={id="12",pid="945832",extra=" Name: UserTaskName, State: 0
002, Priority: 0007",frame={func="CTaskTemplateClass::Action",args=[{name="this"
,value="0xe6ea8"}],file="N:/Temp/ToThrow/psoism/applicat/src/CTaskTemplateClass.
cpp",line="454"}},thread={id="11",pid="956152",extra=" Name: IMP_MAS, State: 000
9, Priority: 0000",frame={func="CINOSTask::MainLoop",args=[{name="this",value="0
xe96f8"}],file="N:/Temp/ToThrow/psoism/os/inos/Src/Inos.cpp",line="856"}}..(snipped)..]
Thanks
bye Fabi