From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80034 invoked by alias); 5 Jul 2018 22:26: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 80013 invoked by uid 89); 5 Jul 2018 22:26:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*u:Mac, H*UA:Intel, qemu, H*UA:Mac X-HELO: mail.baldwin.cx Received: from bigwig.baldwin.cx (HELO mail.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 05 Jul 2018 22:25:57 +0000 Received: from John-Baldwins-MacBook-Pro-2.local (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id 5088710A87D; Thu, 5 Jul 2018 18:25:55 -0400 (EDT) Subject: Re: [PATCH] RISC-V: Add osabi support. To: Andrew Burgess , Jim Wilson References: <20180704001518.27593-1-jimw@sifive.com> <20180704091106.GF2675@embecosm.com> Cc: gdb-patches@sourceware.org From: John Baldwin Message-ID: Date: Thu, 05 Jul 2018 22:26:00 -0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180704091106.GF2675@embecosm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-07/txt/msg00137.txt.bz2 On 7/4/18 2:11 AM, Andrew Burgess wrote: > * Jim Wilson [2018-07-03 17:15:18 -0700]: > >> This adds the osabi init call that the linux native port needs. >> >> gdb/ >> * riscv-tdep.c (riscv_gdbarch_init): Call gdbarch_init_osabi. > > I'm happy with this patch, but again wonder if this should be part of > a sequence that adds OS support? I would be happy to have these bits go in actually as I will probably start working on FreeBSD RISC-V support in the near future (albeit using QEMU as my test environment for now). Having the riscv-tdep.c changes upstream will make that easier rather than either duplicating that work or having to temporarily pull it into my own branches. -- John Baldwin