From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17421 invoked by alias); 22 Feb 2015 04:34:18 -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 17412 invoked by uid 89); 22 Feb 2015 04:34:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 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; Sun, 22 Feb 2015 04:34:15 +0000 Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 39414340AFB; Sun, 22 Feb 2015 04:34:12 +0000 (UTC) Date: Sun, 22 Feb 2015 04:34:00 -0000 From: Mike Frysinger To: Jiri Gaisler Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v2 08/22] sim/erc32: Added -v command line switch for verbose output Message-ID: <20150222043412.GC25220@vapier> Mail-Followup-To: Jiri Gaisler , gdb-patches@sourceware.org References: <1424385100-15397-1-git-send-email-jiri@gaisler.se> <1424385100-15397-9-git-send-email-jiri@gaisler.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="32u276st3Jlj2kUU" Content-Disposition: inline In-Reply-To: <1424385100-15397-9-git-send-email-jiri@gaisler.se> X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00625.txt.bz2 --32u276st3Jlj2kUU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 637 On 19 Feb 2015 23:31, Jiri Gaisler wrote: > --- a/sim/erc32/sis.h > +++ b/sim/erc32/sis.h > @@ -52,8 +52,13 @@ typedef float float32; /* 32-bit float */ > typedef double float64; /* 64-bit float */ >=20=20 > /* FIXME: what about host compilers that don't support 64-bit ints? */ > +#ifdef __LP64__ > +typedef unsigned long uint64; /* 64-bit unsigned int */ > +typedef long int64; /* 64-bit signed int */ > +#else > typedef unsigned long long uint64; /* 64-bit unsigned int */ > typedef long long int64; /* 64-bit signed int */ > +#endif what's up with these types ? just include stdint.h and use uint##_t instea= d. -mike --32u276st3Jlj2kUU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJU6VxEAAoJEEFjO5/oN/WBa5gQALx1+sBc+CEI59iI/naUCntK Du8Ee97f3CHACEENMNQlm33VUeuTNciPCTln7PR3d3p78BySsbLLP4asaQa50Jr3 4Nlbc6kDgJdXExY3cmpwvZzG93GdH8XfNPH12x6AlkDJSMSKivRMLPJ07SIasbl1 Tb19pVX35GVHheW2uO2tTs0uI4gE0/TPrgWbeWtvpSpU/5ORV7J+QvNR7hZ8dJTF xSqfhlfqj4Cvb5x6UYnWmkYa1Zp0o3amaovHy0v4t9tkp8AY15Xx1znVyMiOiucN dZKf6H9JKcG7dVR4SSi8sSpcC0fDb96dWI78P7XEDiVOKJaH+VW18JGfoyp8g41H n3kNWGc656pYNiN/UFB42U57cJNv/y3oUzTYgh0ActY9LbKd++dkgiPIuNe1+rVn 03u20GJBOmy9lPejNQD/+oRiiJ5zkzy5KEWosNwClgWE4inFhdVp9IbyGvXTil0k es4OSnz0nESxHLiEhdvwWgPMlhpxd7R84gMtP2zTH/kz0PBAZgQQyApP8Lq3phCD TW6blwiQYxmrQ6xk20FsGBzEm6oWY2iKE0MGzGxTa8yWgDZ5ayRhASp4tmapwgCj +bYwe03RUDMyq6o5LMhje3gOwBNTc4yc0lqkzXo614nPhvZzR2ofhQ1lb4KdNBcV dprG+hZmZoTxDeZEVOmc =VNVq -----END PGP SIGNATURE----- --32u276st3Jlj2kUU--