From: Michael Snyder Date: Thu, 10 Jan 2002 23:05:21 +0000 (+0000) Subject: 2002-01-10 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b87011e95221f8390c2c2304fec74aa090b68d39;p=binutils-gdb.git 2002-01-10 Michael Snyder * elf.c (elfcore_write_prstatus): Use long instead of pid_t; (elfcore_write_pstatus): Use long instead of pid_t; * elf-bfd.h: Change prototypes to use long instead of pid_t; --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 24af6fd414e..ed91848a980 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2002-01-10 Michael Snyder + + * elf.c (elfcore_write_prstatus): Use long instead of pid_t; + (elfcore_write_pstatus): Use long instead of pid_t; + * elf-bfd.h: Change prototypes to use long instead of pid_t; + 2002-01-09 Jason Thorpe * elf.c: Update copyright years. diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 018f2d079b4..c5f7a740da4 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -1524,9 +1524,9 @@ extern char *elfcore_write_note extern char *elfcore_write_prpsinfo PARAMS ((bfd *, char *, int *, char *, char *)); extern char *elfcore_write_prstatus - PARAMS ((bfd *, char *, int *, pid_t, int, void *)); + PARAMS ((bfd *, char *, int *, long, int, void *)); extern char * elfcore_write_pstatus - PARAMS ((bfd *, char *, int *, pid_t, int, void *)); + PARAMS ((bfd *, char *, int *, long, int, void *)); extern char *elfcore_write_prfpreg PARAMS ((bfd *, char *, int *, void *, int)); extern char *elfcore_write_prxfpreg diff --git a/bfd/elf.c b/bfd/elf.c index 1dd7d7db257..6615e54663c 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -6562,7 +6562,7 @@ elfcore_write_prstatus (abfd, buf, bufsiz, pid, cursig, gregs) bfd *abfd; char *buf; int *bufsiz; - pid_t pid; + long pid; int cursig; void *gregs; { @@ -6584,7 +6584,7 @@ elfcore_write_pstatus (abfd, buf, bufsiz, pid, cursig, gregs) bfd *abfd; char *buf; int *bufsiz; - pid_t pid; + long pid; int cursig; void *gregs; {