From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5518 invoked by alias); 7 Mar 2002 01:32:33 -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 5357 invoked from network); 7 Mar 2002 01:32:29 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 7 Mar 2002 01:32:29 -0000 Received: from redhat.com (notinuse.cygnus.com [205.180.231.12]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id RAA01715; Wed, 6 Mar 2002 17:32:06 -0800 (PST) Message-ID: <3C86C0E8.F2C1B502@redhat.com> Date: Wed, 06 Mar 2002 17:32:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2smp i686) X-Accept-Language: en MIME-Version: 1.0 To: Miah Gregory CC: gdb@sources.redhat.com Subject: Re: gdb/threading under arm-linux References: <908b78124b.miah@picsel.com> <20020305103521.A27860@nevyn.them.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-03/txt/msg00026.txt.bz2 Miah Gregory wrote: > > 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'. :-( Are you using libc 2.2?