From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15065 invoked by alias); 26 Oct 2018 03:58:28 -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 15046 invoked by uid 89); 26 Oct 2018 03:58:28 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:733, claim X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 26 Oct 2018 03:58:27 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C00A4753B1; Fri, 26 Oct 2018 03:58:25 +0000 (UTC) Received: from pinnacle.lan (ovpn-116-78.phx2.redhat.com [10.3.116.78]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9DDE9607CF; Fri, 26 Oct 2018 03:58:25 +0000 (UTC) Date: Fri, 26 Oct 2018 03:58:00 -0000 From: Kevin Buettner To: gdb-patches@sourceware.org Cc: Jim Wilson Subject: Re: [PATCH 2/2] RISC-V: Linux signal frame support. Message-ID: <20181025205824.41e2a65a@pinnacle.lan> In-Reply-To: <20181026000030.3847-1-jimw@sifive.com> References: <20181026000030.3847-1-jimw@sifive.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00608.txt.bz2 On Thu, 25 Oct 2018 17:00:30 -0700 Jim Wilson wrote: > Add support for recognizing signal trampolines, parsing the signal frame, > and reading register values from it. > > gdb/ > * riscv-linux-tdep.c: Include tramp-frame.h and trad-frame.h. > (riscv_linux_sigframe_init): Declare. > (RISCV_INST_LI_A7_SIGRETURN, RISCV_INT_ECALL): New. > (riscv_linux_sigframe): New. > (SIGFRAME_SIGINFO_SIZE, UCONTEXT_MCONTEXT_OFFSET): New. > (riscv_linux_sigframe_init): Define. > (riscv_linux_init_abi): Call tramp_frame_prepend_unwinder. Hi Jim, Though I don't claim any knowledge of the RISC-V architecture, I read through your patch and it looks reasonable to me. Kevin