Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Bram Kuijper <a.l.w.kuijper@rug.nl>
To: gdb@sourceware.org
Subject: "failed to find valid object file", but which object file? (using  static libraries)
Date: Tue, 26 Jun 2007 08:47:00 -0000	[thread overview]
Message-ID: <4680D290.8020303@rug.nl> (raw)

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




             reply	other threads:[~2007-06-26  8:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-26  8:47 Bram Kuijper [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4680D290.8020303@rug.nl \
    --to=a.l.w.kuijper@rug.nl \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox