From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11485 invoked by alias); 6 Oct 2014 00:46:01 -0000 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 Received: (qmail 11472 invoked by uid 89); 6 Oct 2014 00:46:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 06 Oct 2014 00:45:58 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1XawR0-000432-GV from Maciej_Rozycki@mentor.com ; Sun, 05 Oct 2014 17:45:54 -0700 Received: from localhost (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server (TLS) id 14.3.181.6; Mon, 6 Oct 2014 01:45:52 +0100 Date: Mon, 06 Oct 2014 00:46:00 -0000 From: "Maciej W. Rozycki" To: CC: Mark Kettenis Subject: [PING][PATCH] microMIPS support (Linux signal trampolines) In-Reply-To: Message-ID: References: <201205182225.q4IMPBiD031110@glazunov.sibelius.xs4all.nl> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2014-10/txt/msg00090.txt.bz2 On Sun, 28 Sep 2014, Maciej W. Rozycki wrote: > I'd like to get back to this change and review. Here's the same code > regenerated against current trunk. Can we please get consensus on changes > to tramp-frame.[ch]? > > Regression-tested with the mips-linux-gnu target and the following > multilibs: > > -EB > -EB -msoft-float > -EB -mips16 > -EB -mips16 -msoft-float > -EB -mmicromips > -EB -mmicromips -msoft-float > -EB -mabi=n32 > -EB -mabi=n32 -msoft-float > -EB -mabi=64 > -EB -mabi=64 -msoft-float > > and the -EL variants of same with no regressions. > > 2014-09-28 Maciej W. Rozycki > > gdb/ > * tramp-frame.h (tramp_frame): Add validate member. > * tramp-frame.c (tramp_frame_start): Validate trampoline before > scanning. > * mips-linux-tdep.c (MICROMIPS_INST_LI_V0): New macro. > (MICROMIPS_INST_POOL32A, MICROMIPS_INST_SYSCALL): Likewise. > (mips_linux_o32_sigframe): Initialize validate member. > (mips_linux_o32_rt_sigframe): Likewise. > (mips_linux_n32_rt_sigframe): Likewise. > (mips_linux_n64_rt_sigframe): Likewise. > (micromips_linux_o32_sigframe): New variable. > (micromips_linux_o32_rt_sigframe): Likewise. > (micromips_linux_n32_rt_sigframe): Likewise. > (micromips_linux_n64_rt_sigframe): Likewise. > (mips_linux_o32_sigframe_init): Handle microMIPS trampolines. > (mips_linux_n32n64_sigframe_init): Likewise. > (mips_linux_sigframe_validate): New function. > (micromips_linux_sigframe_validate): Likewise. > (mips_linux_init_abi): Install microMIPS trampoline unwinders. Ping! Maciej