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


On Wed, Mar 13, 2002 at 01:11:57PM +0000, Miah Gregory wrote:
> In message <20020306110033.A14410@nevyn.them.org>
>           Daniel Jacobowitz <dmj+@andrew.cmu.edu> wrote:
> 
> > On Wed, Mar 06, 2002 at 09:45:15AM +0000, Miah Gregory wrote:
> > > In message <20020305103521.A27860@nevyn.them.org>
> > >           Daniel Jacobowitz <drow@mvista.com> wrote:
> 
> -snip-
> 
> > > > Please try a current snapshot (see http://sources.redhat.com/gdb/).
> > > > It should work.
> 
> > > No luck. Now both kernels give the SIG32 problem.
> 
> > You almost certainly do not have libthread_db.so.1 in /lib.  You need
> > that to debug threads.
> 
> Ok, I managed to build enough of libc 2.2.3 in order to get the required
> libthread_db.so.1 library, and I then installed that in /lib.
> 
> With the 20020305 snapshot, I get all the same problems. Is there a simple
> way to find out whether gdb is trying to use that library?

I recommend running gdb within gdb, and breakpointing on
thread_db_load.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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