This is the mail archive of the
rda@sources.redhat.com
mailing list for the rda project.
Re: Help required on rda [FRV]
- From: Jim Blandy <jimb at redhat dot com>
- To: Vinu Dev <vinudev at gmail dot com>
- Cc: rda at sources dot redhat dot com
- Date: 06 Apr 2005 15:04:30 -0500
- Subject: Re: Help required on rda [FRV]
- References: <18aafe4c05040603574ebfbd61@mail.gmail.com>
Vinu Dev <vinudev@gmail.com> writes:
> I Appreciate your contribution to redhat on rda,i have problem using
> rda compilied for FRV target,while debugging thread application using
> rda and gdb compilied for FRV,there is a delay in thread creation when
> compared to creation of thread running the prog on console.
> Can u pls guide me in solving this problem
Is your target system using LinuxThreads, or NPTL?
With LinuxThreads, debugging will slow down your program quite a bit;
there are a lot of signals the thread implementation sends itself
internally, and RDA catches each one. I believe it re-reads the
thread table from the debuggee's memory each time it stops.
The timings your program prints are amazing, though; 38654705694
seconds is around a thousand years. I assume you didn't have to wait
*that* long. How long is the delay?
If you have the option of using NPTL, you might try using RDA from the
jimb-rda-nptl-branch branch. I haven't had time to merge that into
the trunk, but hopefully I'll have some time to work on it eventually.