From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55921 invoked by alias); 10 Feb 2017 21:03: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 55780 invoked by uid 89); 10 Feb 2017 21:03:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=thoroughly, 0006, H*r:4.85, FSF 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:03:38 +0000 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) for gdb-patches@sourceware.org with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1ccILw-002X3q-7P>; Fri, 10 Feb 2017 22:03:36 +0100 Received: from p5088ae90.dip0.t-ipconnect.de ([80.136.174.144] helo=ikarus.fritz.box) by inpost2.zedat.fu-berlin.de (Exim 4.85) for gdb-patches@sourceware.org with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256) (envelope-from ) id <1ccILw-004Boz-1i>; Fri, 10 Feb 2017 22:03:36 +0100 Received: from glaubitz by ikarus.fritz.box with local (Exim 4.89) (envelope-from ) id 1ccILv-0002rS-LP for gdb-patches@sourceware.org; Fri, 10 Feb 2017 22:03:35 +0100 From: John Paul Adrian Glaubitz To: gdb-patches@sourceware.org Subject: RFC: Add native support for Linux SH Date: Fri, 10 Feb 2017 21:03:00 -0000 Message-Id: <20170210205546.7982-1-glaubitz@physik.fu-berlin.de> X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00286.txt.bz2 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