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


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

Re: Debug of Test 15 (cgf input needed)


At 08:14 PM 4/7/2001 -0400, Christopher Faylor wrote:

>Some (most) select operations in cygwin actually need to resort to
>polling so they do consume CPU.  The easiest way to find out what is
>happening is to attach a gdb to the running process.

Chris, can you elaborate? I have never done that until now.
While the Xserver process is running, I launch gdb -nw, load the executable
(file) and attach to the winpid. gdb tells me "attaching ... " and gets
stuck. From another window I send a signal to the Xserver and gdb
then gives me the prompt. Now what? The only info I have been able to
get is the registers and the dlls ...
Thanks

Pierre


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