From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16076 invoked by alias); 15 Nov 2014 07:31:58 -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 16065 invoked by uid 89); 15 Nov 2014 07:31:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 15 Nov 2014 07:31:56 +0000 Received: from vapier.wh0rd.info (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 022B43401D6; Sat, 15 Nov 2014 07:31:53 +0000 (UTC) Date: Sat, 15 Nov 2014 07:31:00 -0000 From: Mike Frysinger To: DJ Delorie Cc: Andreas Schwab , gdb@sourceware.org Subject: Re: why is sim_addr_range_hit_p tagged inline? Message-ID: <20141115073154.GD9962@vapier.wh0rd.info> Mail-Followup-To: DJ Delorie , Andreas Schwab , gdb@sourceware.org References: <201411132030.sADKUbhj008048@greed.delorie.com> <87r3x6nknn.fsf@igel.home> <201411142016.sAEKG0c0022671@greed.delorie.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uXxzq0nDebZQVNAZ" Content-Disposition: inline In-Reply-To: <201411142016.sAEKG0c0022671@greed.delorie.com> X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00022.txt.bz2 --uXxzq0nDebZQVNAZ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 438 On 14 Nov 2014 15:16, DJ Delorie wrote: > > Unless HAVE_INLINE is defined. >=20 > Ah, ick. I noticed this because I had a report from a Mac user that > they were getting "multiply defined symbols" for that function. the sim code base heavily inlines things for the sake of speed. but i'm no= t=20 sure what kind of perf difference it makes nowadays on modern systems. wou= ld be=20 worth seeing if we could just drop it all ... -mike --uXxzq0nDebZQVNAZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUZwFqAAoJEEFjO5/oN/WBL1YP/0dzx+4YuZUfUfinnAhojoiO qqjJoLEFgBAEURCc+aTw7E+IyWBhEtLSvTGa2NjuA/BtljSeLdzc8Gg4eAbuO4t+ qrPnx3rBDpqRf3WruhkYmlS/77NZxxK/YJ6jyf3oQHkZ3nExoWHPECbxevAc4Y5w QHfa6bXH0S07YxoBQT+vZOs9kWYY1bRH6UDOaAHNRxO2U3knFVfVsLRx5wLePnAO yJ8v8J50Bi5gdHKVYdtefreTj7JI0HpC1CnfJ0e0KVlflL58UC9rVVxhK5/SQk3d fqGyEYLmOv0Yaebj9Q0aD6p+7bCj1DjnDxeMxNm2F2laFNgwDOuld6ExIB23LY1y VAPaRUgcTp1j4MlVmtw0mKCl8N9ddlSAVfSDxGjcc+ARHaiyTcSxxAEiKL2b0kHC hmHokw2Db6ZTrKXcpmFtwLp5onHuzk7IuwQemWmXMhXhgqB/QVN+RZAytvZ90dGV 54N9syDZTmy4ZI32P5czDjVyygn9whTLZAeO4pDgVybh4FSToGMbpWZ7uOWwi6CN a1I7YERK/EgEGlD0xMVaIaESEK4kaDdrBNLrP9n/cwuXKvgoYOfzW7wPuYkV0mNe ZNbK3AD4TQk5drQ0h2t4Mr4lDIH2GI/9q3dkWjTViZ7Ixa+dYXgLx4vhEH5xMSZO 62LRYfq31E62hsZJ6dXg =Swby -----END PGP SIGNATURE----- --uXxzq0nDebZQVNAZ--