From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1634 invoked by alias); 3 Feb 2010 22:47:37 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 1624 invoked by uid 22791); 3 Feb 2010 22:47:37 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org From: Tom Tromey To: Chris Moller Cc: Eric Bachalo , Project Archer Subject: Re: PR 11067 References: <4B68A35E.2050301@redhat.com> <4B68DC25.1090808@redhat.com> <4B69F028.9070006@redhat.com> Reply-To: Tom Tromey Date: Wed, 03 Feb 2010 22:47:00 -0000 In-Reply-To: <4B69F028.9070006@redhat.com> (Chris Moller's message of "Wed, 03 Feb 2010 16:52:40 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2010-q1/txt/msg00052.txt.bz2 >>>>> "Chris" == Chris Moller writes: Chris> The simple fix is to always print both the symbolic name and the Chris> decimal value: >> (gdb) p e >> $1 = Val1 (= 56) >> (gdb) p Val1 >> $2 = Val1 (= 56) >> (gdb) Chris> That's a one-line change in c-valprint.c. Trying to differentiate Chris> between those two cases looks like it would be significantly more Chris> difficult. Chris> Would the one-line change do? Or does the fix need to do exactly Chris> what the request says? The one-line fix is fine. Tom