delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <01f301c11b17$d1150ce0$5328010a@tataelxsi.co.in> |
From: | "Kiran C" <kiranc AT tataelxsi DOT co DOT in> |
To: | <cygwin AT sources DOT redhat DOT com> |
Subject: | Thread Debugging in GDB for Cygwin |
Date: | Thu, 2 Aug 2001 11:26:04 +0530 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.00.2314.1300 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
Hi, I am using GDB 5.0 on Cygwin(NT).I have tried debuggibg threads but I am not able to do so.. Is such a debugging option available in GDB 5.0 for Cygwin(NT)? I wrote a pgm which forked another process. After the forking was performed I typed the follwing gdb command. info threads I got a list of two threads.(a * indicating my active thread) But when I tired to switch to the other thread using the thread gdb command. I was switched to the other task but..I could not debug it.. I got an error saying cannot find bounds of function.. I tried the same using pthread_create function in cygwin..But it too did not work. Can such debugging be donw in my platform? Since the commands are available..Should it not be working? Should I compile my program with special flags other than -g? Hope u can help me. Kiran -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |