From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30027 invoked by alias); 8 Apr 2006 20:29:04 -0000 Received: (qmail 30019 invoked by uid 22791); 8 Apr 2006 20:29:03 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sat, 08 Apr 2006 20:29:02 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FSK3I-0004sw-23; Sat, 08 Apr 2006 16:29:00 -0400 Date: Sat, 08 Apr 2006 20:29:00 -0000 From: Daniel Jacobowitz To: "David S. Miller" Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH]: Fix signal handler stepping on Linux/Sparc Message-ID: <20060408202900.GA18707@nevyn.them.org> Mail-Followup-To: "David S. Miller" , gdb-patches@sources.redhat.com References: <20060407.231843.63374146.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060407.231843.63374146.davem@davemloft.net> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00096.txt.bz2 On Fri, Apr 07, 2006 at 11:18:43PM -0700, David S. Miller wrote: > It seems that perhaps some other Linux targets don't handle this right > too. > > MIPS is the most likely platform that gets this wrong in the same > exact way, as I don't see any handling of system call instructions in > the software single-step handler which MIPS/Linux uses. I know that I have fixed this for MIPS before. I may have not followed through on the patch, though. ARM has a similar problem. Those two I'll fix at some point; Alpha I'm probably going to leave for someone who has more need for the port... > 2006-04-07 David S. Miller > > * sparc-linux-tdep.c (sparc32_linux_step_trap): New. > (sparc32_linux_init_abi): Hook it into tdep->step_trap. > * sparc64-linux-tdep.c (sparc64_linux_step_trap): New. > (sparc64_linux_init_abi): Hook it into tdep->step_trap. > * Makefile.in: Update dependencies. Yes, this is fine. Thanks. -- Daniel Jacobowitz CodeSourcery