Debugging pthread in ARM.
gomrioje
gomez.j@ikusi.es
Wed May 16 15:27:00 GMT 2007
Running the aplication in the PC, I get with command backtrace:
(gdb) [Thread debugging using libthread_db enabled]
I don't get this message in the cross-debugging with arm.
Both the gdb and the gdbserver are:
GNU gdbserver 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
gdbserver is free software, covered by the GNU General Public License.
This gdbserver was configured as "arm-linux-gnu"
GNU gdb 6.4.90
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "--host=i686-linux --target=arm-linux".
I guess the libraries for the ARM have no symbols charged. Do I need
them to debug my application?
Regards,
On Tue, 2007-05-15 at 13:21 -0400, Daniel Jacobowitz wrote:
> On Tue, May 15, 2007 at 07:13:58PM +0200, gomrioje wrote:
> > Thanks Daniel, I point solib-absolute, right now my libraries (info
> > sharedlibrary) are like that:
> >
> >
> > >From To Syms Read Shared Object Library
> > 0x400284d8 0x400859a4
> > No /app/arm/bitbaketmp/staging/arm-linux/lib/libsqlite.so.0
>
> Something is still wrong, since if GDB had found the libraries it
> would have read in symbols automatically. Are you getting any
> warnings? Are you sure they are exactly the same versions?
>
> ld-linux.so.2 should be under your solib-absolute-prefix.
>
>
--
Jesus Gomez Rio
R&D Technician
Design & Manufacturing Division
gomez.j@ikusi.com
www.ikusi.es
---
More information about the Gdb
mailing list