aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-01-10 23:05:21 +0000
committerMichael Snyder <msnyder@vmware.com>2002-01-10 23:05:21 +0000
commitb87011e95221f8390c2c2304fec74aa090b68d39 (patch)
tree534878dd858e39d8fe5d4437591ec4976dc48320 /bfd
parent198377909c9eb3f9179e7afd4b9c9849f2a41fdf (diff)
downloadgdb-b87011e95221f8390c2c2304fec74aa090b68d39.zip
gdb-b87011e95221f8390c2c2304fec74aa090b68d39.tar.gz
gdb-b87011e95221f8390c2c2304fec74aa090b68d39.tar.bz2
2002-01-10 Michael Snyder <msnyder@redhat.com>
* 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;
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elf-bfd.h4
-rw-r--r--bfd/elf.c4
3 files changed, 10 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 24af6fd..ed91848 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2002-01-10 Michael Snyder <msnyder@redhat.com>
+
+ * 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 <thorpej@wasabisystems.com>
* elf.c: Update copyright years.
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 018f2d0..c5f7a74 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 1dd7d7d..6615e54 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;
{