From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25484 invoked by alias); 26 Feb 2004 23:09:12 -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 25462 invoked from network); 26 Feb 2004 23:09:11 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 26 Feb 2004 23:09:11 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 43E382B92; Thu, 26 Feb 2004 18:09:09 -0500 (EST) Message-ID: <403E7C95.8070605@gnu.org> Date: Thu, 26 Feb 2004 23:09:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Jeff Johnston Cc: Michael Elizabeth Chastain , gdb@sources.redhat.com Subject: Re: [RFA]: Patch for regression with huge integer References: <20040223195548.B7CDD4B104@berman.michael-chastain.com> <403A7132.9020902@gnu.org> <403A7DEE.6090606@redhat.com> <403E7028.1020404@redhat.com> In-Reply-To: <403E7028.1020404@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-02/txt/msg00404.txt.bz2 > 2004-02-26 Jeff Johnston > > * valprint.h (print_hex_chars, print_char_chars): New prototypes. > * valprint.c (print_hex_chars): Change from static to external. > (print_char_chars): New function. > * printcmd.c (print_scalar_formatted): For integer and enum types > that are longer than LONGEST, perform processing via appropriate > print_*_chars routines. Yes. Coding nit though, "||" and "&&" go on the lhs, not rhs. Andrew > + if (len > sizeof(LONGEST) && > + (TYPE_CODE (type) == TYPE_CODE_INT || > + TYPE_CODE (type) == TYPE_CODE_ENUM))