* Help-ddd debugger
@ 2005-05-03 13:48 Deepak Kashyap
2005-05-03 13:55 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Deepak Kashyap @ 2005-05-03 13:48 UTC (permalink / raw)
To: drow, gautham.thavva, gdb
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<stdio.h>
#include<pthread.h>
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Help-ddd debugger
2005-05-03 13:48 Help-ddd debugger Deepak Kashyap
@ 2005-05-03 13:55 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2005-05-03 13:55 UTC (permalink / raw)
To: Deepak Kashyap; +Cc: gautham.thavva, gdb
On Tue, May 03, 2005 at 02:48:19PM +0100, Deepak Kashyap wrote:
> 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.
I recommend you read the fine documentation.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-03 13:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-03 13:48 Help-ddd debugger Deepak Kashyap
2005-05-03 13:55 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox