From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12293 invoked by alias); 6 Jun 2017 10:44:06 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 12275 invoked by uid 89); 6 Jun 2017 10:44:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: mx1.suse.de From: Andreas Schwab To: Stefan Liebler Cc: libc-alpha@sourceware.org, "Carlos O'Donell" Subject: Re: [PATCH] S390: Sync ptrace.h with kernel. [BZ #21539] References: X-Yow: Now I am depressed... Date: Tue, 06 Jun 2017 10:44:00 -0000 In-Reply-To: (Stefan Liebler's message of "Tue, 6 Jun 2017 12:17:33 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2017-06/txt/msg00202.txt.bz2 On Jun 06 2017, Stefan Liebler wrote: > Hi, > > this patch removes PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS > and PTRACE_SETFPREGS as these requests does not exist on s390 kernel. Since it is an API change it should probably get a NEWS entry. > +static void > +tracer_func (int pid) > +{ > + unsigned long last_break; > + ptrace_area parea; > + gregset_t regs; > + int status; > + > + while (1) > + { > + /* Wait for the tracee to be stopped or exited. */ > + wait (&status); Doesn't that need to use WUNTRACED? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."