From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2178 invoked by alias); 6 Apr 2005 20:06:33 -0000 Mailing-List: contact rda-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rda-owner@sources.redhat.com Received: (qmail 2159 invoked from network); 6 Apr 2005 20:06:30 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 6 Apr 2005 20:06:30 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j36K6UvA018961 for ; Wed, 6 Apr 2005 16:06:30 -0400 Received: from zenia.home.redhat.com (sebastian-int.corp.redhat.com [172.16.52.221]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j36K6TO01062; Wed, 6 Apr 2005 16:06:30 -0400 To: Vinu Dev Cc: rda@sources.redhat.com Subject: Re: Help required on rda [FRV] References: <18aafe4c05040603574ebfbd61@mail.gmail.com> From: Jim Blandy Date: Wed, 06 Apr 2005 20:06:00 -0000 In-Reply-To: <18aafe4c05040603574ebfbd61@mail.gmail.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-q2/txt/msg00001.txt.bz2 Vinu Dev 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.