From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15656 invoked by alias); 29 Oct 2003 22:50:03 -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 15638 invoked from network); 29 Oct 2003 22:49:59 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 29 Oct 2003 22:49:59 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 4604B2B89; Wed, 29 Oct 2003 17:49:58 -0500 (EST) Message-ID: <3FA04416.8030803@redhat.com> Date: Wed, 29 Oct 2003 22:50: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: Daniel Jacobowitz Cc: Andrew Cagney , Kevin Nomura , gdb-patches@sources.redhat.com Subject: Re: inconsistent sigtramp code in mips target References: <20031028215814.GY4320@bughouse.netapp.com> <3FA03EDC.2090407@redhat.com> <20031029222957.GA12468@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00853.txt.bz2 > On Wed, Oct 29, 2003 at 05:27:40PM -0500, Andrew Cagney wrote: > >> >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. > > > But since he's got a MIPS target, the frame sniffers won't help him at > all, will they? They can't be used until the MIPS is converted. Looks like Kevin may have drawn the short straw. Andrew