From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26691 invoked by alias); 13 Aug 2013 14:16:26 -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 26680 invoked by uid 89); 13 Aug 2013 14:16:26 -0000 X-Spam-SWARE-Status: No, score=-8.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 13 Aug 2013 14:16:24 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r7DEGMZM004230 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 13 Aug 2013 10:16:22 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r7DEGJ5J029231; Tue, 13 Aug 2013 10:16:20 -0400 Message-ID: <520A3FB2.9050602@redhat.com> Date: Tue, 13 Aug 2013 14:16:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Sergio Durigan Junior CC: Joern Rennecke , GDB Patches Subject: Re: [PATCH] Create avr-linux-tdep.c (add reintroduce gdbarch_gdb_signal_{to,from}_target for that target) References: <20130812171901.7mi3vkyoro40kwcc-nzlynne@webmail.spamcop.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-08/txt/msg00341.txt.bz2 On 08/12/2013 10:48 PM, Sergio Durigan Junior wrote: > On Monday, August 12 2013, Joern Rennecke wrote: > >> Quoting Sergio Durigan Junior : >> >> >>> +avr-*-*linux*) >>> + # Target: AVR Linux >>> + gdb_target_obs="avr-tdep.o avr-linux-tdep.o linux-tdep.o" >>> + gdb_sim=../sim/avr/libsim.a >>> + ;; >>> + >>> avr-*-*) >>> # Target: AVR >>> gdb_target_obs="avr-tdep.o" >>> >> >> That is creating a new target. > > Yes. > >> So are users using a linux host supposed >> to configure for this new target? But why does it look like it's the >> target that is running linux - there is no such thing for avr. >> Shouldn't we rather autoconf the host signals? > > These are not host signals, they are the target's. > > Maybe I am confusing things here. I saw > and I assumed one could run Linux > on AVR, but on a further investigation I saw that it only applies to > AVR32, right? I'm definitely not an expert here, sorry about it. > > But well, if that is the case, then I guess we can either (a) treat > AVR32 separately and make an avr32-linux-tdep.c for it, or (b) drop this > patch entirely. Looks like upstream GDB doesn't support AVR32 at all. At least, I can't find any hit for avr32 in the sources. I looked around, and I can't find GDB in Atmel's current toolchains (on their site). I found avr32-gdb-6.7.1.atmel.1.0.4.tar.gz at http://distribute.atmel.no/tools/avr32/old/avr32gnutoolchain/v2.2.1/source/ though (note "old"), which does contain AVR32 GDB and GDBserver ports. Guess this was never pushed upstream. Sounds like we should drop this patch then. -- Pedro Alves