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: David Gatwood <email@hidden>
- Date: Mon, 14 Nov 2005 12:18:24 -0800
On Nov 14, 2005, email@hidden 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 :-(
Some other folks have mentioned the macros. If you happen to need to
debug
in user space without those macros, or if you need to do any other
operation
on all the threads, you can do:
thread apply all COMMAND
e.g.
thread apply all bt
David
_______________________________________________
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