From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26019 invoked by alias); 29 Dec 2007 17:05:34 -0000 Received: (qmail 26009 invoked by uid 22791); 29 Dec 2007 17:05:32 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO brahms.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 29 Dec 2007 17:05:26 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.1/8.14.0) with ESMTP id lBTH5JYZ014334; Sat, 29 Dec 2007 18:05:19 +0100 (CET) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.1/8.14.1/Submit) id lBTH5IcG010408; Sat, 29 Dec 2007 18:05:18 +0100 (CET) Date: Sat, 29 Dec 2007 18:01:00 -0000 Message-Id: <200712291705.lBTH5IcG010408@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: nick.hudson@dsl.pipex.com CC: drow@false.org, gdb-patches@sourceware.org In-reply-to: <200710182120.19350.nick.hudson@dsl.pipex.com> (message from Nick Hudson on Thu, 18 Oct 2007 21:20:18 +0100) Subject: Re: [rfc] Improve NetBSD/i386 signal trampoline detection References: <200710021207.16451.nick.hudson@dsl.pipex.com> <200710111913.l9BJDEaa016464@brahms.sibelius.xs4all.nl> <200710182120.19350.nick.hudson@dsl.pipex.com> 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-12/txt/msg00461.txt.bz2 > From: Nick Hudson > Date: Thu, 18 Oct 2007 21:20:18 +0100 > > * i386nbsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h" > (sigtramp_retcode, i386nbsd_sigtramp_offset, i386nbsd_sigtramp_p): > Remove > (i386nbsd_mc_reg_offset): New array. > (i386nbsd_sigtramp_cache_init): New function. > (i386nbsd_sigtramp_sc16, i386nbsd_sigtramp_sc2, i386nbsd_sigtramp_si2) > (i386nbsd_sigtramp_si31, i386nbsd_sigtramp_si4): New signal trampoline > frame descriptions. > (i386nbsd_init_abi): Override ABI sigcontext defaults and register > new signal frame unwinders > * Makefile.in (i386nbsd-tdep.o): Update dependencies. > * tramp-frame.h (struct tramp_frame): Allow for 48 instructions I've comitted this now (sorry for the delay), with a small fix to make the prototype for i386nbsd_sigtramp_cache_init not start in column zero. Daniel, I think that makes Nick qualify for "Write After Approval". Can you set him up for that?