Re: Kernel Debugging Help
Re: Kernel Debugging Help
- Subject: Re: Kernel Debugging Help
- From: "Arvind Dalvi" <email@hidden>
- Date: Tue, 7 Aug 2007 10:25:17 +0100
Thanks Terry & Quinn,
I will read the GDB documentation in more depth, and will try a few stint......
In the meantime, Quinn, if you could expand the showtask macro to also include the status field (p->stat) of the BSD proc structure, it would be great....
Thanks,
Arvind
P.S
I am too sure whether reporting status of a process would be the right thing, as it are threads that have state (waiting/suspended/ready/running) rather than the process.
On 8/7/07, Quinn <email@hidden> wrote:
If you can suggest a specific example of which macro you'd like to
dump which field, I can do the work and post it as an example.
In the meantime, you wrote:
At 9:04 +0100 6/8/07, Arvind Dalvi wrote:
>We all know that BSD has a history of U* part of data structure that
>are swapped out during memory pressure. Is that the case here ?
No. If you look at the Mac OS X source you'll see some vestigial
remnants of this concept, but it's never been used in anger on Mac OS
X and it's definitely /not/ the cause of your debugging problems.
Share and Enjoy
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
_______________________________________________
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