Re: [osol-code] pfiles

2008-05-08 Thread William Kucharski
> It appears the problem is related to instr_t. I had > changed instr_t from uint32_t (as it is for SPARC) to > uint16_t (the minimum size for a s390x instruction > which also have to be half-word aligned). I haven't > followed through what the change to instr_t caused > but I got some other ugly e

Re: [osol-code] pfiles

2008-05-07 Thread Neale Ferguson
It appears the problem is related to instr_t. I had changed instr_t from uint32_t (as it is for SPARC) to uint16_t (the minimum size for a s390x instruction which also have to be half-word aligned). I haven't followed through what the change to instr_t caused but I got some other ugly errors oc

Re: [osol-code] pfiles

2008-05-02 Thread William Kucharski
pr_wait() waits for a process to stop or until timer expiry. From: http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/proc/prcontrol.c#1290 /* * Wait until process/lwp stops or until timer expires. * Return EINTR for an interruption, -1 for timeout, else 0. */ int pr_

[osol-code] pfiles

2008-05-01 Thread Neale Ferguson
I am having trouble with the pfiles command. The other p commands appear to work fine but this one hangs. Here's the sequence of operations used to generate the situation. > grep scum (to cause the program to just sit and wait for input) > ps shows: 100416 pts/1 0:00 grep > pflags 10