From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25704 invoked by alias); 8 Jul 2004 22:25:34 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 25694 invoked from network); 8 Jul 2004 22:25:33 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 8 Jul 2004 22:25:33 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i68MPXe3013420 for ; Thu, 8 Jul 2004 18:25:33 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i68MPW031410; Thu, 8 Jul 2004 18:25:32 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id ECCD62B9D; Thu, 8 Jul 2004 18:25:19 -0400 (EDT) Message-ID: <40EDC9CF.6070001@gnu.org> Date: Thu, 08 Jul 2004 22:25:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Paul Hilfinger , Joel Brobecker Cc: gdb@sources.redhat.com Subject: Ada's formats Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-07/txt/msg00081.txt.bz2 Joel, Paul, I'm looking at this: #if 0 {"8#%lo#", "8#", "o", "#"}, /* Octal format info */ {"%ld", "", "d", ""}, /* Decimal format info */ {"16#%lx#", "16#", "x", "#"}, /* Hex format info */ #else /* Copied from c-lang.c. */ {"0%lo", "0", "o", ""}, /* Octal format info */ {"%ld", "", "d", ""}, /* Decimal format info */ {"0x%lx", "0x", "x", ""}, /* Hex format info */ #endif Would replacing the printf formats with ada specific functions similar to paddr, paddr_nz et.al. or even a single function with multiple parameters solve this problem? Andrew