From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1152 invoked by alias); 6 Aug 2013 20:39:00 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 1120 invoked by uid 48); 6 Aug 2013 20:38:59 -0000 From: "kamaraju at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/11067] p should print the constant's value Date: Tue, 06 Aug 2013 20:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kamaraju at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: cmoller at redhat dot com X-Bugzilla-Target-Milestone: 7.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q3/txt/msg00187.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=11067 --- Comment #4 from Kamaraju Kusumanchi --- You can also use "p /d" as a work around. It is less typing than "p (int)" (gdb) p /d Val1 $4 = 0 -- You are receiving this mail because: You are on the CC list for the bug.