From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5391 invoked by alias); 12 Aug 2013 21:49:04 -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 5377 invoked by uid 89); 12 Aug 2013 21:49:04 -0000 X-Spam-SWARE-Status: No, score=-7.2 required=5.0 tests=AWL,BAYES_00,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; Mon, 12 Aug 2013 21:49:03 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r7CLn1wZ004308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 12 Aug 2013 17:49:01 -0400 Received: from psique (ovpn-113-52.phx2.redhat.com [10.3.113.52]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r7CLmwVn025767 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 12 Aug 2013 17:49:00 -0400 From: Sergio Durigan Junior To: Joern Rennecke Cc: GDB Patches , Pedro Alves 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> X-URL: http://www.redhat.com Date: Mon, 12 Aug 2013 21:49:00 -0000 In-Reply-To: <20130812171901.7mi3vkyoro40kwcc-nzlynne@webmail.spamcop.net> (Joern Rennecke's message of "Mon, 12 Aug 2013 17:19:01 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-08/txt/msg00326.txt.bz2 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. WDYT? Am I missing something here? -- Sergio