From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22101 invoked by alias); 29 Jun 2009 15:39:17 -0000 Received: (qmail 22093 invoked by uid 22791); 29 Jun 2009 15:39:16 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 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; Mon, 29 Jun 2009 15:39:11 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 33E542BAABD; Mon, 29 Jun 2009 11:39:09 -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 aOIrHhKBzXPV; Mon, 29 Jun 2009 11:39:09 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id F18902BAAAD; Mon, 29 Jun 2009 11:39:08 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id E0440F5AF0; Mon, 29 Jun 2009 08:39:06 -0700 (PDT) Date: Mon, 29 Jun 2009 15:39:00 -0000 From: Joel Brobecker To: Ulrich Weigand Cc: gdb-patches@sourceware.org Subject: Re: [rfa/Ada] Remove builtin types from type/value printing routines Message-ID: <20090629153906.GC7584@adacore.com> References: <200906261553.n5QFrJfo030041@d12av02.megacenter.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906261553.n5QFrJfo030041@d12av02.megacenter.de.ibm.com> User-Agent: Mutt/1.5.18 (2008-05-17) 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 X-SW-Source: 2009-06/txt/msg00817.txt.bz2 > * ada-valprint.c (ada_print_scalar): Accept NULL type argument > to indicate scalar should be printed as default integer. > (print_optional_low_bound): Pass NULL to ada_print_scalar to > indicate default integer output. > * ada-typeprint.c (print_range, print_range_bound): Likewise. > (print_choices): Likewise. Thus, accept NULL as val_type. > * ada-lang.c (ada_variant_discrim_type): Return NULL when failed > to look up controlling discriminant name. OK! -- Joel