This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb/threading under arm-linux


In message <20020305103521.A27860@nevyn.them.org>
          Daniel Jacobowitz <drow@mvista.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]