vmstat
Pavel Tsekov
ptsekov@syntrex.com
Thu Jul 4 06:09:00 GMT 2002
Hello Chris,
Thursday, July 04, 2002, 2:52:59 PM, you wrote:
CJ> This is caused by the default alignment changing from 4 bytes to 8 bytes, as
CJ> far as i can tell. Basically the size of structure passed to the NT system
CJ> calls is not the size of structure the call expects, so it fails and the
CJ> program (top, uptime, etc.) gets stuck in a loop trying to read data.
CJ> I did add macros to ntdll.h to make sure the structures were aligned
CJ> correctly, but then Chris changed the alignment back so I removed them. I
CJ> shall let Chris comment on this.
I was replying to your previous mail as I got this one. It's good that
you already found the cause for this problem.
Btw I tried to set a breakpoint in uptime, but unfortunatly gdb hits it
only, if it is set on main() - if i try to step the code from there, it
just stucks ... Weird thing...
More information about the Cygwin-apps
mailing list