aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-04-09 14:26:13 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-04-09 14:26:13 +0000
commit2351cae0524f958e786b8cdeebe0efea8ef3fda4 (patch)
treef83277b6b7a93c7a7c52691dc5aa2088b0019b2f /bfd
parent60d5a603bb6cfff6ffe179ebd10271ae5d0b6287 (diff)
downloadgdb-2351cae0524f958e786b8cdeebe0efea8ef3fda4.zip
gdb-2351cae0524f958e786b8cdeebe0efea8ef3fda4.tar.gz
gdb-2351cae0524f958e786b8cdeebe0efea8ef3fda4.tar.bz2
Replace __pid_t with pid_t.
2011-04-09 H.J. Lu <hongjiu.lu@intel.com> PR binutils/12657 * hosts/x86-64linux.h (elf_prstatus32): Replace __pid_t with pid_t.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/hosts/x86-64linux.h11
2 files changed, 12 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7d65340..c745c2a 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2011-04-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/12657
+ * hosts/x86-64linux.h (elf_prstatus32): Replace __pid_t with
+ pid_t.
+
2011-04-08 H.J. Lu <hongjiu.lu@intel.com>
PR ld/12654
diff --git a/bfd/hosts/x86-64linux.h b/bfd/hosts/x86-64linux.h
index 27901c5..3bd2f8d 100644
--- a/bfd/hosts/x86-64linux.h
+++ b/bfd/hosts/x86-64linux.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2006 Free Software Foundation, Inc.
+/* Copyright (C) 2006, 2011
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -153,10 +154,10 @@ struct elf_prstatus32
short int pr_cursig; /* Current signal. */
unsigned int pr_sigpend; /* Set of pending signals. */
unsigned int pr_sighold; /* Set of held signals. */
- __pid_t pr_pid;
- __pid_t pr_ppid;
- __pid_t pr_pgrp;
- __pid_t pr_sid;
+ pid_t pr_pid;
+ pid_t pr_ppid;
+ pid_t pr_pgrp;
+ pid_t pr_sid;
struct prstatus32_timeval pr_utime; /* User time. */
struct prstatus32_timeval pr_stime; /* System time. */
struct prstatus32_timeval pr_cutime; /* Cumulative user time. */