From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23301 invoked by alias); 12 Aug 2013 08:48:22 -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 23290 invoked by uid 89); 12 Aug 2013 08:48:22 -0000 X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_50,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_MED,RCVD_IN_HOSTKARMA_W autolearn=ham version=3.3.2 Received: from c62.cesmail.net (HELO c62.cesmail.net) (216.154.195.54) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 12 Aug 2013 08:48:21 +0000 Received: from unknown (HELO delta2) ([192.168.1.50]) by c62.cesmail.net with ESMTP; 12 Aug 2013 04:48:20 -0400 Received: from cust213-dsl91-135-11.idnet.net (cust213-dsl91-135-11.idnet.net [91.135.11.213]) by webmail.spamcop.net (Horde MIME library) with HTTP; Mon, 12 Aug 2013 04:48:19 -0400 Message-ID: <20130812044819.f4bsof7l448gs4cw-nzlynne@webmail.spamcop.net> Date: Mon, 12 Aug 2013 08:48:00 -0000 From: Joern Rennecke To: Sergio Durigan Junior Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 0/7] Implement gdbarch_gdb_signal_{to,from}_target References: <20130810214926.eqls003q8gg44sso-nzlynne@webmail.spamcop.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) X-SW-Source: 2013-08/txt/msg00293.txt.bz2 Quoting Sergio Durigan Junior : > Sorry, but how are you building this? I'm having trouble reproducing > the failure. I suppose you're building a GDB for AVR only, yes, using --target=3Davr for configure. > which is > probably not building linux-tdep.o, where both > linux_gdb_signal_{to,from}_target functions are defined. Indeed, avr-tdep.o is the only *tdep* file built. > There is no avr-linux-tdep.c, which means that when we're not building > for a Linux target such functions won't be available because > linux-tdep.o won't be built. I'm not sure how to solve this specific > problem (whether to propose this avr-linux-tdep or to solve this with > #ifdef's). Opinions are welcome. Is linux-tdep.c really the right place for the host specific support functions? > For now, I have chosen to revert the patch for AVR. This is not an > urgent thing, and IMO it's more important to keep the tree buildable. > Meanwhile we can discuss alternatives. > > I checked-in the following patch. > > http://sourceware.org/ml/gdb-cvs/2013-08/msg00050.html Yes, avr-gdb is building again for now.