This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: BFD question


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]