From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25111 invoked by alias); 10 Apr 2007 15:34:07 -0000 Received: (qmail 25100 invoked by uid 22791); 10 Apr 2007 15:34:05 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 10 Apr 2007 16:34:03 +0100 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id 5583E4B26D; Tue, 10 Apr 2007 10:34:02 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id 351F74B262; Tue, 10 Apr 2007 10:34:02 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HbIM4-0003JW-VU; Tue, 10 Apr 2007 11:34:01 -0400 Date: Tue, 10 Apr 2007 15:34:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [RFA/sparc] Add handling of stack-check probes Message-ID: <20070410153400.GE10890@caradoc.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sourceware.org References: <20070328225013.GN3866@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070328225013.GN3866@adacore.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00090.txt.bz2 On Wed, Mar 28, 2007 at 03:50:13PM -0700, Joel Brobecker wrote: > Hello, > > GDB is currently unable to unwind past stack-check probes that are > inserted by the compiler when compiling with -stack-check. The attached > patch adds handling for the sequences currently emitted by GCC. Eric > Botcazou told us that they can take 3 forms: The patch seems right to me, though I don't know too much about SPARC. > 2007-03-28 Joel Brobecker > > * sparc-tdep.c (X_RS2): New macro. > (sparc_skip_stack_check): New function. > (sparc_analyze_prologue): Adjust PC past stack probing > sequence if necessary. > > Tested on sparc-solaris, no regression. > OK to apply? Yes, go ahead. -- Daniel Jacobowitz CodeSourcery