This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: BFD question
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: "Bloch, Jack" <Jack dot Bloch at icn dot siemens dot com>
- Cc: "''gdb at sources dot redhat dot com' '" <gdb at sources dot redhat dot com>
- Date: 17 May 2004 17:06:53 -0400
- Subject: Re: BFD question
- References: <7A25937D23A1E64C8E93CB4A50509C2A0310F1A9@stca204a.bus.sc.rolm.com>
"Bloch, Jack" <Jack.Bloch@icn.siemens.com> writes:
> 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"
Well, objdump thinks the value of bfd_get_file_flags is 0x112.
Your code looks OK at a cursory glance. I don't know what the problem
is. Sorry.
Ian