From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30652 invoked by alias); 30 Sep 2012 16:56:47 -0000 Received: (qmail 30644 invoked by uid 22791); 30 Sep 2012 16:56:46 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 30 Sep 2012 16:56:41 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 11CFB1C7B09; Sun, 30 Sep 2012 12:56:41 -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 ZL1j3fS-p26l; Sun, 30 Sep 2012 12:56:41 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 7BE9D1C7B08; Sun, 30 Sep 2012 12:56:40 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 0CF49C6B1B; Sun, 30 Sep 2012 18:56:30 +0200 (CEST) Date: Sun, 30 Sep 2012 16:56:00 -0000 From: Joel Brobecker To: Jan Kratochvil Cc: gdb@sourceware.org, Siddhesh Poyarekar Subject: Re: 64-bit (>4GB) inferior data types rules; TYPE_LENGTH: unsigned -> ULONGEST Message-ID: <20120930165630.GA30746@adacore.com> References: <20120928173229.GA10406@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120928173229.GA10406@host2.jankratochvil.net> User-Agent: Mutt/1.5.21 (2010-09-15) 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 X-SW-Source: 2012-09/txt/msg00084.txt.bz2 > BTW for size_t/ssize_t format string is "%z". Unfortunately, that's C99... Not sure what the best approach would be - I think people typically cast to long or unsigned long and then use the us %l or %ul. -- Joel