From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8487 invoked by alias); 29 Oct 2003 22:27:42 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 8478 invoked from network); 29 Oct 2003 22:27:41 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 29 Oct 2003 22:27:41 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 3B44C2B89; Wed, 29 Oct 2003 17:27:40 -0500 (EST) Message-ID: <3FA03EDC.2090407@redhat.com> Date: Wed, 29 Oct 2003 22:27:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Nomura Cc: gdb-patches@sources.redhat.com Subject: Re: inconsistent sigtramp code in mips target References: <20031028215814.GY4320@bughouse.netapp.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00848.txt.bz2 > The logical patch would be to move the special cases up front, > but I have no way to test this out (no access to a MIPS UNIX > platform). > > On the other hand this isn't purely academic. I came across this > because I need to define a custom sigtramp frame for our own > MIPS embedded platform. It was baffling for a while that my > modification to the SP_REGNUM override had no effect. Rather than the MIPS, check the x86 family for how to add a custom sigtramp handler (ex, i386_sigtramp_frame_sniffer). Hopefully the new mechanism is less baffling - the current MIPS code is not a good reference. Andrew