From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21517 invoked by alias); 15 Jun 2002 02:17:16 -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 21496 invoked from network); 15 Jun 2002 02:17:15 -0000 Received: from unknown (HELO racerx.ixiacom.com) (64.60.75.69) by sources.redhat.com with SMTP; 15 Jun 2002 02:17:15 -0000 Received: from ixiacom.com (DANK [192.168.3.117]) by racerx.ixiacom.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id MT4XLBK8; Fri, 14 Jun 2002 19:15:38 -0700 Message-ID: <3D0AAE4F.30006@ixiacom.com> Date: Fri, 14 Jun 2002 19:17:00 -0000 From: Dan Kegel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020518 Debian/1.0rc2-2pre3v2 X-Accept-Language: en MIME-Version: 1.0 To: Ankur Sheth CC: "'gdb@sources.redhat.com'" Subject: Re: gdbserver and multithreaded programs References: <9A9C83C019F35D47A570460E87D5D8AB0186F76C@racerx.ixiacom.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-06/txt/msg00114.txt.bz2 Ankur Sheth wrote: > We tried out today's cvs on a simple remote multithreaded program on > x86, ppc405 and sh4. > > Results : > x86 - worked fine. > ppc405 - worked on single threaded program, but on multithreaded > program output zillions of > Ignoring packet error, continuing... > Ignoring packet error, continuing... > as soon as we tried to step thru main. > > sh4 - worked fine on single threaded program, but on > multithreaded program it output the following message. > Program received signal SIG32, Real-time event 32. I should mention we are running Linux 2.4.16 or so, using gcc3.0.2 (gcc2.9.7 from Montavista had same problem on sh4), and we configured once for target powerpc-unknown-linux-gnu and in a different copy of the tree for sh-unknown-linux-gnu. Thanks very much to Daniel J. and Montavista for contributing these patches. We're really looking forward to using them. - Dan