[RFA] New interface to allow creation of corefile note sec

Nick Clifton nickc@cambridge.redhat.com
Tue Jan 8 01:13:00 GMT 2002


Hi Michael,

> 2001-12-26  Michael Snyder  <msnyder@redhat.com>
> 
> 	Add capability to write corefile note sections, for gdb.
> 	* elf.c (elfcore_write_note): New function.
> 	(elfcore_write_prpsinfo): New function.
> 	(elfcore_write_prstatus): New function.
> 	(elfcore_write_pstatus): New function.
> 	(elfcore_write_prfpreg): New function.

Approved - please apply - but...

> + char *elfcore_write_note (bfd *, char *, int *, char *, int, void *, int);
> + char *elfcore_write_prpsinfo (bfd *, char *, int *, char *, char *);
> + char *elfcore_write_prstatus (bfd *, char *, int *, pid_t, int, void *);
> + char *elfcore_write_prfpreg (bfd *, char *, int *, void *, int);

Please use PARAMS macro.


Cheers
        Nick



More information about the Binutils mailing list