From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6698 invoked by alias); 3 May 2005 13:48:44 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 6476 invoked from network); 3 May 2005 13:48:22 -0000 Received: from unknown (HELO web8401.mail.in.yahoo.com) (202.43.219.149) by sourceware.org with SMTP; 3 May 2005 13:48:22 -0000 Received: (qmail 50706 invoked by uid 60001); 3 May 2005 13:48:19 -0000 Message-ID: <20050503134819.50704.qmail@web8401.mail.in.yahoo.com> Received: from [203.197.238.213] by web8401.mail.in.yahoo.com via HTTP; Tue, 03 May 2005 14:48:19 BST Date: Tue, 03 May 2005 13:48:00 -0000 From: Deepak Kashyap Subject: Help-ddd debugger To: drow@mvista.com, gautham.thavva@lycos.com, gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2005-05/txt/msg00028.txt.bz2 Hi, At present i am working on LINUX platform,and i donot know how to debug a multithreaded program with ddd. please help me regarding this. the program is #include #include pthread_t thread[5]; void *fun(void *a) { printf("thread %d\n",a); pthread_exit(NULL); } int main() { int i=0; for (i=0 ;i<=5 ;i++) { printf("thread create %d",i); pthread_create(&thread,NULL,fun,(void *)i); } } With Regards & Thanks Deepak Kashyap ________________________________________________________________________ Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony