From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101938 invoked by alias); 20 Aug 2015 12:53:49 -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 101888 invoked by uid 89); 20 Aug 2015 12:53:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 20 Aug 2015 12:53:48 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 3A64629266; Thu, 20 Aug 2015 08:53:46 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id U8mUIrL5drO0; Thu, 20 Aug 2015 08:53:46 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 2962128D39; Thu, 20 Aug 2015 08:53:44 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 1997144451; Thu, 20 Aug 2015 08:53:44 -0400 (EDT) Date: Thu, 20 Aug 2015 12:53:00 -0000 From: Joel Brobecker To: Max Filippov Cc: gdb-patches@sourceware.org, Maxim Grigoriev , Woody LaRue , Marc Gauthier Subject: Re: [PATCH] xtensa: initialize call_abi in xtensa_tdep Message-ID: <20150820125344.GE4571@adacore.com> References: <1433628336-24058-1-git-send-email-jcmvbkbc@gmail.com> <20150820120909.GC4571@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-08/txt/msg00541.txt.bz2 > The file include/xtensa-config.h is meant to be replaced by > processor-specific version where XSHAL_ABI definition may be > different. That's why I mention 'call0 configuration' in the > description: when xtensa core is configured without > windowed registers it will necessarily have call0 ABI. This is the type of property that is normally dynamically determined. Is there a way to determine that info from the executable? That would be the proper way of fixing this issue. -- Joel