This is the mail archive of the gdb@sourceware.org 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]

"failed to find valid object file", but which object file? (using static libraries)


Hi all,

as a newbie, I am debugging a program which uses a number of self-made static libraries. When running (gdb) start, the first message I get is:

Failed to read a valid object file image from memory.
0x08048d15 in main ()

Is there any way to find _which_ object file has failed to be read in?

A simple ldd ./program will only give me a listing of standard linux shared libraries, whereas no static libraries are displayed (I presume the error is in one of my self-made static libraries).

Can one point to more information with which program I can find out which static libraries are included?

thanks in advance,

Bram




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