GDB arm-netbsd build failure.

Richard Earnshaw rearnsha@arm.com
Wed Jan 9 11:45:00 GMT 2002


Michael,

Your latest patch

2002-01-03  Michael Snyder  <msnyder@redhat.com>

        Implement a "generate-core-file" command in gdb, save target state.

breaks any target that doesn't use ELF, since it calls a BFD function that 
is only compiled in for ELF support.

Specifically, it directly uses elfcore_write_prpsinfo which is in bfd/elf.c

Isn't there supposed to be a way of wrapping such calls through a BFD 
layer to make them format independent.  If not, then this call should only 
be made if we know that we are using ELF.

R.



More information about the Gdb mailing list