From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19604 invoked by alias); 30 Jan 2006 10:50:27 -0000 Received: (qmail 19592 invoked by uid 22791); 30 Jan 2006 10:50:25 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 30 Jan 2006 10:50:22 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F3Wbh-0007wx-Fp for gdb@sources.redhat.com; Mon, 30 Jan 2006 11:50:01 +0100 Received: from zigzag.lvk.cs.msu.su ([158.250.17.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Jan 2006 11:50:01 +0100 Received: from ghost by zigzag.lvk.cs.msu.su with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Jan 2006 11:50:01 +0100 To: gdb@sources.redhat.com From: Vladimir Prus Subject: MI: "print /c whatever" Date: Mon, 30 Jan 2006 13:32:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.8.2 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00330.txt.bz2 Hi! It seems like MI has no command that's equivalent to "print /c whatever", that is, printing using character format. The -data-evaluate-expression does not accept format specifier, and the -var-set-format does not allow to specify character format (that's with CVS code state). So: 1. Can anybody suggest a workaround that works with gdb 6.3 and 6.4? 2. What's the best fix -- adding format specifier to -data-evaluate-expression (note that -data-list-changed-registers and -data-read-memory *do* allow format specifier), or fixing -var-set-format? Thanks, Volodya