This is the mail archive of the 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: problem with core file

On Thu, Mar 08, 2007 at 03:15:59PM +0100, 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/ 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/
>         -> Is there some way to tell this gdb ?

"set solib-search-path"

> warning: .dynamic section for "/lib/" 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/

"set solib-absolute-prefix", or "set sysroot" in GDB HEAD.

> Reading symbols from /lib/
> Loaded symbols for /lib/
>         -> 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

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