From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4197 invoked by alias); 17 May 2004 20:54:31 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 4001 invoked from network); 17 May 2004 20:54:30 -0000 Received: from unknown (HELO brmx1.boca.ssc.siemens.com) (12.147.96.32) by sourceware.org with SMTP; 17 May 2004 20:54:30 -0000 Received: from fdns2.rolm.com (localhost [127.0.0.1]) by brmx1.boca.ssc.siemens.com (8.12.10/8.12.10) with ESMTP id i4HKpCvE006442; Mon, 17 May 2004 16:51:13 -0400 Received: from stca200a.bus.sc.rolm.com (stca200a.bus.sc.rolm.com [165.218.68.180]) by fdns2.rolm.com (8.12.10/8.12.10) with ESMTP id i4HKsS0B022159; Mon, 17 May 2004 13:54:28 -0700 (PDT) Received: by stca200a.bus.sc.rolm.com with Internet Mail Service (5.5.2657.72) id ; Mon, 17 May 2004 13:54:27 -0700 Message-ID: <7A25937D23A1E64C8E93CB4A50509C2A0310F1A9@stca204a.bus.sc.rolm.com> From: "Bloch, Jack" To: "'Ian Lance Taylor '" Cc: "''gdb@sources.redhat.com' '" Subject: RE: BFD question Date: Mon, 17 May 2004 20:54:00 -0000 MIME-Version: 1.0 In-Reply-To: <7A25937D23A1E64C8E93CB4A50509C2A0310F1A8@stca204a.bus.sc.rolm.com> X-imss-version: <7A25937D23A1E64C8E93CB4A50509C2A0310F1A8@stca204a.bus.sc.rolm.com> X-imss-result: <7A25937D23A1E64C8E93CB4A50509C2A0310F1A8@stca204a.bus.sc.rolm.com> Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2004-05/txt/msg00110.txt.bz2 Here is the output objdump -f Coregen Coregen: file format elf32-i386 architecture: i386, flags 0x00000112: EXEC_P, HAS_SYMS, D_PAGED start address 0x08048400 This looks good to me. By the way, I forgot to show in my code listing that p_file is a char * passed in as a parameter ans is set to "/usr/coretest/Coregen" -----Original Message----- From: Ian Lance Taylor To: Bloch, Jack Cc: 'gdb@sources.redhat.com' Sent: 5/17/2004 4:01 PM Subject: Re: BFD question "Bloch, Jack" writes: > The call to bfd_get_file_flags returns a 0. The file is indeed an elf32-i386 > target. What does objdump -f return on the file? Has the file perhaps been stripped? Ian