Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* "failed to find valid object file", but which object file? (using  static libraries)
@ 2007-06-26  8:47 Bram Kuijper
  2007-06-26  8:55 ` Ramana Radhakrishnan
  2007-06-26 11:22 ` Daniel Jacobowitz
  0 siblings, 2 replies; 8+ messages in thread
From: Bram Kuijper @ 2007-06-26  8:47 UTC (permalink / raw)
  To: gdb

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-06-26 14:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-26  8:47 "failed to find valid object file", but which object file? (using static libraries) Bram Kuijper
2007-06-26  8:55 ` Ramana Radhakrishnan
2007-06-26 11:22 ` Daniel Jacobowitz
2007-06-26 11:32   ` Bram Kuijper
2007-06-26 11:37     ` Daniel Jacobowitz
2007-06-26 11:52       ` Bram Kuijper
2007-06-26 12:11         ` Daniel Jacobowitz
2007-06-26 14:52           ` Bram Kuijper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox