From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26965 invoked by alias); 5 May 2006 19:32:23 -0000 Received: (qmail 26957 invoked by uid 22791); 5 May 2006 19:32:22 -0000 X-Spam-Check-By: sourceware.org Received: from intranet.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.6) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 05 May 2006 19:32:19 +0000 Received: (qmail 10909 invoked from network); 5 May 2006 19:32:17 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 5 May 2006 19:32:17 -0000 To: gdb-patches@sourceware.org Subject: Re: [rfc] gdb_stdint.h. References: <20060505172713.GF31029@nevyn.them.org> From: Jim Blandy Date: Fri, 05 May 2006 19:32:00 -0000 In-Reply-To: <20060505172713.GF31029@nevyn.them.org> (Daniel Jacobowitz's message of "Fri, 5 May 2006 13:27:13 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00087.txt.bz2 Daniel Jacobowitz writes: > You want uintptr_t? I got your uintptr_t right here. > > This patch creates a header in the build directory named gdb_stdint.h. > It defines all of the things which a stdint.h ought to define. It uses > the system's stdint.h if there is one, and provides anything missing, > up to and including the whole file. > > There is, of course, a huge hairy chunk of m4 and portability knowledge > that you don't see in this patch. That's because it's already in > config/ and was written for GCC. I'm OK with that :-) It means it's > quite well tested at this point. > > This would be enough to allow us to start using uint64_t, uintptr_t, > et cetera in the common code of GDB. Which, in my opinion, would be a > good idea. They're nice to have around. Oh, I double-plus-good-feeling . Criminal not to have it in the language from the beginning.