This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: problem with core file
On Thu, Mar 08, 2007 at 03:15:59PM +0100, Markus.Grunwald@pruftechnik.com wrote:
> warning: core file may not match specified executable file.
> -> Why ? I am sure they match !
Maybe the copy you ran had a different filename than the one you gave
to GDB?
> Error while mapping shared library sections:
> /VIBXpert/qt/lib/libqte-mt.so.3: No such file or directory.
> -> Ok, this is the path on our embedded plattform. On the PC where
> I
> -> examine this code, the lib lies here:
> /opt/qt/arm/qt3/lib/libqte-mt.so.3
> -> Is there some way to tell this gdb ?
"set solib-search-path"
> warning: .dynamic section for "/lib/libpthread.so.0" is not at the
> expected address (wrong library or version mismatch?)
> -> Again, that's the path on the embedded plattform.
> -> On the pc, it should be
> /usr/local/arm/./2.95.3/arm-linux/lib/libpthread.so.0
"set solib-absolute-prefix", or "set sysroot" in GDB HEAD.
> Reading symbols from /lib/libpthread.so.0...done.
> Loaded symbols for /lib/libpthread.so.0
> -> Will this work ??? I can't imagine ...
Indeed it won't. Although, if you get the sysroot fixed, you may get
the same output here - but it will load the right file.
> Core was generated by `îm@0@ úÿ¿'.
> -> Sounds funny.
Don't know about this. Might be a kernel issue or a BFD issue.
--
Daniel Jacobowitz
CodeSourcery