From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83450 invoked by alias); 22 Mar 2018 09:02:00 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 77486 invoked by uid 89); 22 Mar 2018 09:01:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=berlin, Berlin, cool, sh2 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; Thu, 22 Mar 2018 09:01:43 +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 <1eyw67-002Kbc-4d>; Thu, 22 Mar 2018 10:01:23 +0100 Received: from 121-86-247-13f1.osk2.eonet.ne.jp ([121.86.247.13] helo=[192.168.10.17]) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (envelope-from ) id <1eyw64-001XHA-L7>; Thu, 22 Mar 2018 10:01:23 +0100 Subject: Re: Moving forward with gdb sh native support? To: Rich Felker , gdb@sourceware.org Cc: Hector Oron , Nobuhiro Iwamatsu , takasi-y@ops.dti.ne.jp, debian-superh@lists.debian.org, linux-sh@vger.kernel.org, NIIBE Yutaka References: <20180322013659.GA8118@brightrain.aerifal.cx> From: John Paul Adrian Glaubitz Message-ID: <273ffa0b-8785-abf5-f6d5-66880e8a0d1f@physik.fu-berlin.de> Date: Thu, 22 Mar 2018 09:02:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180322013659.GA8118@brightrain.aerifal.cx> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2018-03/txt/msg00037.txt.bz2 On 03/22/2018 10:36 AM, Rich Felker wrote: > I've recently gotten a chance to get back into gdb support for the sh > architecture, and have a series of related patches I'm going to be > submitting upstream soon. Cool \o/ > The ones that aren't specific to SH2/J2/nommu stuff are adding support > for software single-step (the hardware single-step assumed in the current > linux-sh-low does not seem to be supported, as least not by Linux, on the > vast majority of real and emulated hardware) and some minor bugfix prerequisites > for that. > Currently my changes here only cover gdbserver since there's no > upstream sh-native support in gdb. > > In conjunction with this I began looking again at the old sh native > patches, which Adrian Glaubitz has been maintaining for the Debian > side here: > > https://github.com/glaubitz/binutils-gdb/commits/linux-sh > (...) > I know lack of sh native support has been a longstanding issue and > Adrian has been doing a likely-painful job of keeping the patches > up-to-date for a long time now, so whatever we do I hope we can work > out a solution that gets it upstream soon. FWIW, Yutaka Niibe has managed to determine the original author of the SH patchset and it turns out this was not Takashi Yoshii who wrote the patch but Toshinobu Sugioka. Yutaka has contacted him and asked him to sign the copyright assignment for GDB. So, with me and Toshinobu having signed the copyright assignment, it should now be possible to get my out-of-tree patch merged upstream to GDB. Can anyone from GDB upstream comment on this? Is there anything else we need? CC'ed Yutaka so he can comment if necessary. I would love to have native SH support finally merged upstream. I'm happy to make any changes necessary. Adrian -- .''`. 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