This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: BFD question
- From: "Bloch, Jack" <Jack dot Bloch at icn dot siemens dot com>
- To: "'Ian Lance Taylor '" <ian at wasabisystems dot com>
- Cc: "''gdb at sources dot redhat dot com' '" <gdb at sources dot redhat dot com>
- Date: Mon, 17 May 2004 13:54:16 -0700
- Subject: RE: BFD question
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