Re: How can enum threads with gdb when debug kernel?
Re: How can enum threads with gdb when debug kernel?
- Subject: Re: How can enum threads with gdb when debug kernel?
- From: Cliff Russell <email@hidden>
- Date: Mon, 14 Nov 2005 11:48:32 -0800
Use kgmacros from a/the Kernel Debug Kit [1], check out the following
commands:
(gdb) help kgm
...
| showalltasks Display a summary listing of all tasks
| showallthreads Display info about all threads in the system
| showallstacks Display the stack for each thread in the system
| showcurrentthreads Display info about the thread running on
each cpu
| showcurrentstacks Display the stack for the thread running
on each cpu
...
Refer to the ReadMe in the Kernel Debug Kit for more information.
[1] <http://developer.apple.com/sdk/#Kernel>
On 14-Nov-05, at 11:25 AM, Plamen Grigorov wrote:
Hi all
I have one simple question : How can enum threads with gdb when
debug kernel?
I have loadable driver in bsd part and use some paralel working
threads. Have some problem with sinchronization and I don;t know
how enum threads and switch between them when break kernel. When I
try with "info thread" result is "Thread ID process 3 does not
exist." and on "info threads" result is empty string. Help me! I
have no idea how can enum all threads :-(
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40atimi.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden