Test for 32/64 bit object file?

Andrew Cagney ac131313@cygnus.com
Tue Nov 16 12:20:00 GMT 1999


Hello,

Is there a way of determining if an object file is 32 or 64 bit?  (eg
elf32/elf64, aout32 vs aout64).
Perhaphs bfd_arch_bits_per_address(ABFD) is correct?

	Andrew


More information about the Gdb-patches mailing list