From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59767 invoked by alias); 10 Feb 2017 21:06:48 -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 59755 invoked by uid 89); 10 Feb 2017 21:06:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=thoroughly, 0006, U*glaubitz, sk:glaubit X-HELO: outpost1.zedat.fu-berlin.de Received: from outpost1.zedat.fu-berlin.de (HELO outpost1.zedat.fu-berlin.de) (130.133.4.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 10 Feb 2017 21:06:37 +0000 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1ccIOU-002XXu-P0>; Fri, 10 Feb 2017 22:06:14 +0100 Received: from p5088ae90.dip0.t-ipconnect.de ([80.136.174.144] helo=[192.168.178.61]) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (envelope-from ) id <1ccIOU-004C3F-HX>; Fri, 10 Feb 2017 22:06:14 +0100 Subject: Re: RFC: Add native support for Linux SH To: gdb-patches@sourceware.org References: <20170210205546.7982-1-glaubitz@physik.fu-berlin.de> Cc: NIIBE Yutaka , Takashi Yoshii , Nobuhiro Iwamatsu , j-core@lists.j-core.org, debian-superh@lists.debian.org, Linux-sh list , 576242@bugs.debian.org From: John Paul Adrian Glaubitz Message-ID: <171f95c6-3834-0575-ae17-4c7c511f2b15@physik.fu-berlin.de> Date: Fri, 10 Feb 2017 21:06:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170210205546.7982-1-glaubitz@physik.fu-berlin.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00288.txt.bz2 Forgot to CC some relevant people and lists. On 02/10/2017 09:55 PM, John Paul Adrian Glaubitz wrote: > Hi! > > I have picked up an old patch which was posted to this mailing list > in 2011 [1] which adds native GDB support for Linux SuperH (SH). > > Since this patch was never merged for various reasons, it gained > dust and needed some work to be usable with current versions of > GDB again. > > I have taken the patch and forward-ported it to the current version > of GDB from git master. I have tested it on my SH7785LCR SuperH > hardware on Debian unstable and I was able to debug simple C > programs. I have not thoroughly tested the functionality, however. > > With this post, I would like to ask for some feedback on how to > proceed with this patch. The original author of the patch is > Takashi Yoshii who wrote it while working at Renesas Electronics > in Japan. > > Back in 2011, one of the major show-stoppers why the patch was > not merged was apparently the missing FSF copyright assignment > by the author [2]. However, since Yoshii-san was working for > Renesas back then, I think the copyright assignment would have > to be signed by them and not him personally. And since Renesas > has already contributed various SuperH code to various FSF > projects like gcc and binutils, I'd assume that the necessary > FSF copyright assignment has already been signed. > > I have also asked Yutaka Niibe (CC'ed) to try to get into touch > with Takashi Yoshii through his old connections at Renesas, in > case we would need some input from Yoshii-san's side. > > As for the technical part: I'm happy to take any feedback and > improve the patch so it has reached the necessary quality to > be able to get merged into GDB mainline. > > Having native GDB support for Linux SH has become relevant > again since the SuperH architecture is currently being > redeveloped as the J-Core open source architecture [3]. > > Thanks, > Adrian > >> [1] http://www.cygwin.com/ml/gdb-patches/2011-11/msg00490.html >> [2] http://www.cygwin.com/ml/gdb-patches/2011-11/msg00499.html >> [3] http://j-core.org/ > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer - glaubitz@debian.org > `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de > `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 > -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913