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



928 define showprocheader
929     printf " pid  proc        command\n"
930 end
931
932 define showprocint
933     set $kgm_procp = (struct proc *)$arg0
934     if $kgm_procp != 0
935         printf "%5d  ", $kgm_procp->p_pid
936         printf "0x%08x  ", $kgm_procp
937         printf "%s\n", $kgm_procp->p_comm
938     else
939         printf "  *0*  0x00000000  --\n"
940     end
941 end

to


928 define showprocheader
929     printf " pid  proc        command STAT\n"
930 end
931
932 define showprocint
933     set $kgm_procp = (struct proc *)$arg0
934     if $kgm_procp != 0
935         printf "%5d  ", $kgm_procp->p_pid
936         printf "0x%08x  ", $kgm_procp
937         printf "%s ", $kgm_procp->p_comm
              printf "%c\n",$kgm_procp->p_stat
938     else
939         printf "  *0*  0x00000000  --\n"
940     end
941 end

 _______________________________________________
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>)
 >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.