X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: gdb attach to process to produce stacktrace Date: Wed, 20 Sep 2006 16:43:50 +0100 Message-ID: <027801c6dccb$91bb4980$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/