Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kernel Debugging Help



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.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

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:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden

References: 
 >Re: Kernel Debugging Help (From: "Arvind Dalvi" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.