From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18262 invoked by alias); 26 Jun 2007 08:47:17 -0000 Received: (qmail 18253 invoked by uid 22791); 26 Jun 2007 08:47:16 -0000 X-Spam-Check-By: sourceware.org Received: from smtp1.rug.nl (HELO smtp1.rug.nl) (129.125.50.11) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 26 Jun 2007 08:47:14 +0000 Received: from smtp1.rug.nl ([129.125.50.11]) by smtp1.rug.nl (SMSSMTP 4.1.0.19) with SMTP id M2007062610471211425 for ; Tue, 26 Jun 2007 10:47:12 +0200 Received: from [129.125.177.235] (theobio36.biol.rug.nl [129.125.177.235]) by smtp1.rug.nl (8.12.11.20060308/8.12.11) with ESMTP id l5Q8lCjd024456 for ; Tue, 26 Jun 2007 10:47:12 +0200 (MEST) Message-ID: <4680D290.8020303@rug.nl> Date: Tue, 26 Jun 2007 08:47:00 -0000 From: Bram Kuijper User-Agent: Thunderbird 2.0.0.4 (X11/20070618) MIME-Version: 1.0 To: gdb@sourceware.org Subject: "failed to find valid object file", but which object file? (using static libraries) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00292.txt.bz2 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