From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17630 invoked by alias); 14 Nov 2014 10:25:56 -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 17616 invoked by uid 89); 14 Nov 2014 10:25:55 -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,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 14 Nov 2014 10:25:53 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3jfG6P6DjWz3hjrm; Fri, 14 Nov 2014 11:25:49 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3jfG6P4TQwzvk8w; Fri, 14 Nov 2014 11:25:49 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id niyeF7fEDZCK; Fri, 14 Nov 2014 11:25:48 +0100 (CET) X-Auth-Info: 5+prEYc0usvHKlr/+IPhPul5fBUkIPXc9ZdR8JKNNeUMeJLpJBKhGAdjD07Ttwhk Received: from igel.home (ppp-93-104-156-1.dynamic.mnet-online.de [93.104.156.1]) by mail.mnet-online.de (Postfix) with ESMTPA; Fri, 14 Nov 2014 11:25:48 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id A053B2C0D29; Fri, 14 Nov 2014 11:25:48 +0100 (CET) From: Andreas Schwab To: DJ Delorie Cc: gdb@sourceware.org Subject: Re: why is sim_addr_range_hit_p tagged inline? References: <201411132030.sADKUbhj008048@greed.delorie.com> X-Yow: Somewhere in Tenafly, New Jersey, a chiropractor is viewing ``Leave it to Beaver''! Date: Fri, 14 Nov 2014 10:25:00 -0000 In-Reply-To: <201411132030.sADKUbhj008048@greed.delorie.com> (DJ Delorie's message of "Thu, 13 Nov 2014 15:30:37 -0500") Message-ID: <87r3x6nknn.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2014-11/txt/msg00019.txt.bz2 DJ Delorie writes: > In sim/sim-arange.h: > > /* Return non-zero if ADDR is in range AR, traversing the entire tree. > If no range is specified, that is defined to mean "everything". */ > extern INLINE int > sim_addr_range_hit_p (ADDR_RANGE * /*ar*/, address_word /*addr*/); > #define ADDR_RANGE_HIT_P(ar, addr) \ > ((ar)->range_tree == NULL || sim_addr_range_hit_p ((ar), (addr))) > > Why is the INLINE there? sim_addr_range_hit_p() is only defined in > sim-arange.c Unless HAVE_INLINE is defined. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."