gdb attach to process to produce stacktrace

Dave Korn dave.korn@artimi.com
Wed Sep 20 15:43:00 GMT 2006


On 20 September 2006 16:06, Hans Horn wrote:

> The real question is as to why the parent process needs to go into a
> while(1) loop in order to produce the desired trace.

  Because then you're running in the program code, whereas in the sleep
function you've ended up in a windows dll function and ...

>> Note that if the process is stopped in a Windows DLL the stack trace
>> will probably not be very informative.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list