Re: Kernel Debugging Help
Re: Kernel Debugging Help
- Subject: Re: Kernel Debugging Help
- From: "Arvind Dalvi" <email@hidden>
- Date: Tue, 7 Aug 2007 10:29:34 +0100
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 "] ", $kgm_procp->p_pid
936 printf "0xx ", $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 "] ", $kgm_procp->p_pid
936 printf "0xx ", $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:
This email sent to email@hidden