From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id A7731DDF71 for ; Wed, 30 May 2007 14:33:41 +1000 (EST) Subject: Re: [RFC/PATCH 5/5] powerpc: Allow ptrace write to pt_regs trap From: Benjamin Herrenschmidt To: Ulrich Weigand In-Reply-To: References: Content-Type: text/plain Date: Wed, 30 May 2007 14:33:31 +1000 Message-Id: <1180499611.19517.222.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, Paul Mackerras , Anton Blanchard List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > This doesn't look sufficient. If you want GDB to use the save/ > restore style means of handling interrupted calls (like i386), > at the very least we also need the capability to *write* the > orig_gpr3 field, which is currently prohibited. (I don't know > why this is case, though.) Ok, I found it... put_reg doesn't filter it out but the caller does. Fixing that too. Ben.