This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA] New interface to allow creation of corefile note sec
Nick Clifton wrote:
>
> 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.
OK, PARAMS added, prototypes moved into elf-bfd.h, and committed.