This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re[4]: vmstat


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]