From patchwork Tue Sep 4 10:11:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Klauser X-Patchwork-Id: 29183 Received: (qmail 10452 invoked by alias); 4 Sep 2018 10:11:16 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 10436 invoked by uid 89); 4 Sep 2018 10:11:16 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy= X-HELO: sym2.noone.org From: Tobias Klauser To: libc-alpha@sourceware.org Subject: [PATCH] Fix wrong plural 'processes' in sys/ptrace.h comments Date: Tue, 4 Sep 2018 12:11:11 +0200 Message-Id: <1536055871-21619-1-git-send-email-tklauser@distanz.ch> --- sysdeps/unix/sysv/linux/sparc/sys/ptrace.h | 16 ++++++++-------- sysdeps/unix/sysv/linux/sys/ptrace.h | 12 ++++++------ sysdeps/unix/sysv/linux/x86/sys/ptrace.h | 12 ++++++------ 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h b/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h index c037734666e4..2d70d25b02bb 100644 --- a/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h @@ -92,22 +92,22 @@ enum __ptrace_request #if __WORDSIZE == 32 - /* Get all general purpose registers used by a processes. + /* Get all general purpose registers used by a process. This is not supported on all machines. */ PTRACE_GETREGS = 12, #define PT_GETREGS PTRACE_GETREGS - /* Set all general purpose registers used by a processes. + /* Set all general purpose registers used by a process. This is not supported on all machines. */ PTRACE_SETREGS = 13, #define PT_SETREGS PTRACE_SETREGS - /* Get all floating point registers used by a processes. + /* Get all floating point registers used by a process. This is not supported on all machines. */ PTRACE_GETFPREGS = 14, #define PT_GETFPREGS PTRACE_GETFPREGS - /* Set all floating point registers used by a processes. + /* Set all floating point registers used by a process. This is not supported on all machines. */ PTRACE_SETFPREGS = 15, #define PT_SETFPREGS PTRACE_SETFPREGS @@ -133,12 +133,12 @@ enum __ptrace_request #if __WORDSIZE == 64 - /* Get all general purpose registers used by a processes. + /* Get all general purpose registers used by a process. This is not supported on all machines. */ PTRACE_GETREGS = 22, #define PT_GETREGS PTRACE_GETREGS - /* Set all general purpose registers used by a processes. + /* Set all general purpose registers used by a process. This is not supported on all machines. */ PTRACE_SETREGS = 23, #define PT_SETREGS PTRACE_SETREGS @@ -151,12 +151,12 @@ enum __ptrace_request #if __WORDSIZE == 64 - /* Get all floating point registers used by a processes. + /* Get all floating point registers used by a process. This is not supported on all machines. */ PTRACE_GETFPREGS = 25, #define PT_GETFPREGS PTRACE_GETFPREGS - /* Set all floating point registers used by a processes. + /* Set all floating point registers used by a process. This is not supported on all machines. */ PTRACE_SETFPREGS = 26, #define PT_SETFPREGS PTRACE_SETFPREGS diff --git a/sysdeps/unix/sysv/linux/sys/ptrace.h b/sysdeps/unix/sysv/linux/sys/ptrace.h index 3c71a0ebd6de..bd7aa379240d 100644 --- a/sysdeps/unix/sysv/linux/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/sys/ptrace.h @@ -70,22 +70,22 @@ enum __ptrace_request PTRACE_SINGLESTEP = 9, #define PT_STEP PTRACE_SINGLESTEP - /* Get all general purpose registers used by a processes. + /* Get all general purpose registers used by a process. This is not supported on all machines. */ PTRACE_GETREGS = 12, #define PT_GETREGS PTRACE_GETREGS - /* Set all general purpose registers used by a processes. + /* Set all general purpose registers used by a process. This is not supported on all machines. */ PTRACE_SETREGS = 13, #define PT_SETREGS PTRACE_SETREGS - /* Get all floating point registers used by a processes. + /* Get all floating point registers used by a process. This is not supported on all machines. */ PTRACE_GETFPREGS = 14, #define PT_GETFPREGS PTRACE_GETFPREGS - /* Set all floating point registers used by a processes. + /* Set all floating point registers used by a process. This is not supported on all machines. */ PTRACE_SETFPREGS = 15, #define PT_SETFPREGS PTRACE_SETFPREGS @@ -98,12 +98,12 @@ enum __ptrace_request PTRACE_DETACH = 17, #define PT_DETACH PTRACE_DETACH - /* Get all extended floating point registers used by a processes. + /* Get all extended floating point registers used by a process. This is not supported on all machines. */ PTRACE_GETFPXREGS = 18, #define PT_GETFPXREGS PTRACE_GETFPXREGS - /* Set all extended floating point registers used by a processes. + /* Set all extended floating point registers used by a process. This is not supported on all machines. */ PTRACE_SETFPXREGS = 19, #define PT_SETFPXREGS PTRACE_SETFPXREGS diff --git a/sysdeps/unix/sysv/linux/x86/sys/ptrace.h b/sysdeps/unix/sysv/linux/x86/sys/ptrace.h index 6d4605b6ed21..e077f2ad9437 100644 --- a/sysdeps/unix/sysv/linux/x86/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/x86/sys/ptrace.h @@ -70,19 +70,19 @@ enum __ptrace_request PTRACE_SINGLESTEP = 9, #define PT_STEP PTRACE_SINGLESTEP - /* Get all general purpose registers used by a processes. */ + /* Get all general purpose registers used by a process. */ PTRACE_GETREGS = 12, #define PT_GETREGS PTRACE_GETREGS - /* Set all general purpose registers used by a processes. */ + /* Set all general purpose registers used by a process. */ PTRACE_SETREGS = 13, #define PT_SETREGS PTRACE_SETREGS - /* Get all floating point registers used by a processes. */ + /* Get all floating point registers used by a process. */ PTRACE_GETFPREGS = 14, #define PT_GETFPREGS PTRACE_GETFPREGS - /* Set all floating point registers used by a processes. */ + /* Set all floating point registers used by a process. */ PTRACE_SETFPREGS = 15, #define PT_SETFPREGS PTRACE_SETFPREGS @@ -94,11 +94,11 @@ enum __ptrace_request PTRACE_DETACH = 17, #define PT_DETACH PTRACE_DETACH - /* Get all extended floating point registers used by a processes. */ + /* Get all extended floating point registers used by a process. */ PTRACE_GETFPXREGS = 18, #define PT_GETFPXREGS PTRACE_GETFPXREGS - /* Set all extended floating point registers used by a processes. */ + /* Set all extended floating point registers used by a process. */ PTRACE_SETFPXREGS = 19, #define PT_SETFPXREGS PTRACE_SETFPXREGS