From: Daniel Jacobowitz <drow@false.org>
To: Bram Kuijper <a.l.w.kuijper@rug.nl>
Cc: gdb@sourceware.org
Subject: Re: "failed to find valid object file", but which object file? (using static libraries)
Date: Tue, 26 Jun 2007 11:22:00 -0000 [thread overview]
Message-ID: <20070626112126.GA19752@caradoc.them.org> (raw)
In-Reply-To: <4680D290.8020303@rug.nl>
On Tue, Jun 26, 2007 at 10:47:12AM +0200, Bram Kuijper wrote:
> 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?
One from memory, not from disk. Usually this will be linux-gate.so.1
or something like that; a virtual DSO provided by the kernel.
I'm not sure why it would fail. What platform and kernel version?
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-06-26 11:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-26 8:47 Bram Kuijper
2007-06-26 8:55 ` Ramana Radhakrishnan
2007-06-26 11:22 ` Daniel Jacobowitz [this message]
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=20070626112126.GA19752@caradoc.them.org \
--to=drow@false.org \
--cc=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