From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27962 invoked by alias); 9 Feb 2010 04:13:03 -0000 Received: (qmail 27953 invoked by uid 22791); 9 Feb 2010 04:13:02 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Feb 2010 04:12:57 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0KXK00B003AN7H00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Tue, 09 Feb 2010 06:12:13 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.70.67.249]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KXK00AQU3OC5P70@a-mtaout23.012.net.il>; Tue, 09 Feb 2010 06:12:13 +0200 (IST) Date: Tue, 09 Feb 2010 04:13:00 -0000 From: Eli Zaretskii Subject: Re: PR11067 patch In-reply-to: <201002082232.39279.pedro@codesourcery.com> To: Pedro Alves Cc: gdb-patches@sourceware.org, tromey@redhat.com, cmoller@redhat.com Reply-to: Eli Zaretskii Message-id: <838wb3dp3w.fsf@gnu.org> References: <4B6D70A3.2090208@redhat.com> <201002082232.39279.pedro@codesourcery.com> X-IsSubscribed: yes 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: 2010-02/txt/msg00247.txt.bz2 > From: Pedro Alves > Date: Mon, 8 Feb 2010 22:32:39 +0000 > Cc: Chris Moller > > If I had a choice, I would make printing enums exactly like: > > $2 = 23 'ENUMERATOR' > > This is short, concise, and models existing output. It > should look obvious what that output means. There's also a possibility to print enums as we do with macros (where macro expansion is supported).