[PATCH v2 1/3] Use the ELF class to determine the word size for FreeBSD core notes.
Nick Clifton
nickc@redhat.com
Tue Dec 13 11:04:00 GMT 2016
Hi John,
> FreeBSD MIPS64 core dumps contain an empty e_flags value so are assigned
> to the default bfd_arch_mips which is 32-bits.
I am sorry, but I am worried about this patch breaking things for other,
non-MIPS targets. Wouldn't it be easier to update bfd/elfxx-mips.c:_bfd_elf_mips_mach()
to test the EI_CLASS field if no flags are set. Maybe by using the ABI_64_P macro ?
Cheers
Nick
More information about the Gdb-patches
mailing list