From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7469 invoked by alias); 4 Mar 2009 22:14:41 -0000 Received: (qmail 7461 invoked by uid 22791); 4 Mar 2009 22:14:41 -0000 X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_40,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout6.012.net.il (HELO mtaout6.012.net.il) (84.95.2.16) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Mar 2009 22:14:34 +0000 Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KG0008005R0O500@i-mtaout6.012.net.il> for gdb@sourceware.org; Thu, 05 Mar 2009 00:15:12 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.248.57]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KG000EDM5TAZPD1@i-mtaout6.012.net.il>; Thu, 05 Mar 2009 00:15:12 +0200 (IST) Date: Wed, 04 Mar 2009 22:14:00 -0000 From: Eli Zaretskii Subject: Re: What about add a interface to output the assembly codes follow inferior execution In-reply-to: To: Doug Evans Cc: pedro@codesourcery.com, gdb@sourceware.org, drow@false.org, teawater@gmail.com Reply-to: Eli Zaretskii Message-id: References: <20090304192647.GA21091@caradoc.them.org> <200903041932.04620.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00046.txt.bz2 > Date: Wed, 4 Mar 2009 13:25:05 -0800 > From: Doug Evans > Cc: gdb@sourceware.org, Daniel Jacobowitz , Eli Zaretskii , teawater@gmail.com > > Ya, extending the disassemble command makes sense to me. I don't see how it can make sense that the same command does both one-time disassembly and disassemble the next source line each time GDB stops. It's like "print" and "display" -- it's not an accident we have 2 different commands there. If anything, extending "display" with yet another format specifier, or maybe a qualifier for /i, would make much more sense to me.