From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32530 invoked by alias); 6 Mar 2002 09:45:28 -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 32465 invoked from network); 6 Mar 2002 09:45:22 -0000 Received: from unknown (HELO morbus.picsel.com) (212.137.21.218) by sources.redhat.com with SMTP; 6 Mar 2002 09:45:22 -0000 Received: by morbus.picsel.com (Postfix, from userid 1001) id 0C0A07FD9; Wed, 6 Mar 2002 09:45:22 +0000 (GMT) Received: from miahrpc (miahrpc.picsel.com [195.171.216.25]) by morbus.picsel.com (Postfix) with SMTP id 92E1637FE8 for ; Wed, 6 Mar 2002 09:45:19 +0000 (GMT) Date: Wed, 06 Mar 2002 01:45:00 -0000 From: Miah Gregory To: gdb@sources.redhat.com Subject: Re: gdb/threading under arm-linux Message-ID: References: <908b78124b.miah@picsel.com> <20020305103521.A27860@nevyn.them.org> In-Reply-To: <20020305103521.A27860@nevyn.them.org> X-Organization: Picsel Technologies Ltd User-Agent: Messenger-Pro/2.50c (MsgServe/1.50) (RISC-OS/4.02) POPstar/2.03 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS snapshot-20010714 X-SW-Source: 2002-03/txt/msg00018.txt.bz2 In message <20020305103521.A27860@nevyn.them.org> Daniel Jacobowitz wrote: > On Tue, Mar 05, 2002 at 01:39:31PM +0000, Miah Gregory wrote: > > Does anyone know whether threads are supported in the arm-linux version > > of gdb. From the gdb documentation, if 'info threads' appears to no-op, > > and 'thread x' gives an error, threads are not supported. > > I'm trying to work out whether I'm seeing a gdb problem, a kernel > > problem, or both. I'm running this test on a pair of compaq ipaq's, one > > running 2.4.3-rmk2-np1, and the other running 2.4.16-rmk1. > > gdb version | kernel version | threads seem to work? > > ------------|----------------|------------------------------------- > > 5.0 | 2.4.3-rmk2-np1 | Yes > > 5.1.1 | 2.4.3-rmk2-np1 | No, but lots of SIG32's are received > > 5.0 | 2.4.16-rmk1 | No, but lots of SIG32's are received > > 5.1.1 | 2.4.16-rmk1 | No, but lots of SIG32's are received > > I'm happy to try and debug this, but I could do with a few pointers as to > > where I should start looking, and some ideas as to what I'm looking for. > Please try a current snapshot (see http://sources.redhat.com/gdb/). It > should work. No luck. Now both kernels give the SIG32 problem. This is with snapshot 20020305. Also, as an added bonus, gdb now crashes when you ctrl-c a running program to get to the debugger, then do 'info threads'. :-( -- Miah Gregory