[rfc][1/3] Remote core file generation: BFD support
Mark Kettenis
mark.kettenis@xs4all.nl
Fri Oct 21 19:54:00 GMT 2011
>
> Hello,
>
> when implementing support for core file generation with remote targets
> in GDB I ran into the problem that the elfcore_write_prpsinfo and
> elfcore_write_prstatus are only defined for native targets. This is
> even though they could be implemented for remote targets if the
> back-end provides the backend_write_core_note callback.
>
> The following patch provides those functions unconditionally, so that
> they can use the back-end callback if present, and return NULL to
> signal failure if the callback is not available.
>
> The patch in addition implements the callback for ARM Linux.
There's a bit of a problem with this diff. You're installing the
callback into the generic ARM vector, but the notes you're writing out
are (almost certainly) Linux-specific.
More information about the Binutils
mailing list