From: Ramana Radhakrishnan <ramana.radhakrishnan@celunite.com>
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 08:55:00 -0000 [thread overview]
Message-ID: <1182847989.32515.4.camel@localhost.localdomain> (raw)
In-Reply-To: <4680D290.8020303@rug.nl>
On Tue, 2007-06-26 at 10:47 +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?
>
> 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).
Could you give more information regarding the version of gdb being used,
for which architecture and a small test case for the same ? Also the set
of commands that you give to launch gdb so that you get the error would
be most useful.
cheers
-Ramana
>
> Can one point to more information with which program I can find out
> which static libraries are included?
>
> thanks in advance,
>
> Bram
>
>
--
cheers
Ramana
Ramana Radhakrishnan
IDE & Tools Group
Celunite Inc (www.celunite.com)
next prev parent reply other threads:[~2007-06-26 8:55 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 [this message]
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=1182847989.32515.4.camel@localhost.localdomain \
--to=ramana.radhakrishnan@celunite.com \
--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