This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
GDB arm-netbsd build failure.
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: msnyder at redhat dot com, gdb at sources dot redhat dot com
- Cc: Richard dot Earnshaw at arm dot com
- Date: Wed, 09 Jan 2002 19:44:51 +0000
- Subject: GDB arm-netbsd build failure.
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
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.