From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19838 invoked by alias); 9 Jul 2009 22:00:50 -0000 Received: (qmail 19823 invoked by uid 22791); 9 Jul 2009 22:00:48 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Jul 2009 22:00:38 +0000 Received: from spaceape14.eur.corp.google.com (spaceape14.eur.corp.google.com [172.28.16.148]) by smtp-out.google.com with ESMTP id n69M0ZqC018274 for ; Thu, 9 Jul 2009 23:00:35 +0100 Received: from gxk17 (gxk17.prod.google.com [10.202.11.17]) by spaceape14.eur.corp.google.com with ESMTP id n69M0WEJ011035 for ; Thu, 9 Jul 2009 15:00:33 -0700 Received: by gxk17 with SMTP id 17so315533gxk.19 for ; Thu, 09 Jul 2009 15:00:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.86.10 with SMTP id j10mr1049292agb.37.1247176832189; Thu, 09 Jul 2009 15:00:32 -0700 (PDT) In-Reply-To: References: Date: Thu, 09 Jul 2009 23:44:00 -0000 Message-ID: Subject: Re: Add a new modifier /c to "disassemble" command to make it output binary code From: Doug Evans To: Hui Zhu Cc: gdb-patches ml Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-System-Of-Record: true 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: 2009-07/txt/msg00297.txt.bz2 On Wed, Jul 8, 2009 at 11:35 PM, Hui Zhu wrote: > Hi, > > The objdump will output the binary code when it works but gdb not. > I make a patch to add a new modifier /c to "disassemble" command to > make it output binary code. > Please help me review it. I like the idea. The option to objdump is --[no-]show-raw-insn. The word "raw" is the mnemonic I use to remember the option name. Hence I wonder if it would be easier for users to remember "disassemble /r" than "disassemble /c". [nit picky, I know]