BFD question

Bloch, Jack Jack.Bloch@icn.siemens.com
Mon May 17 20:54:00 GMT 2004


 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" <Jack.Bloch@icn.siemens.com> 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



More information about the Gdb mailing list