From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19417 invoked by alias); 10 Mar 2009 02:05:48 -0000 Received: (qmail 19408 invoked by uid 22791); 10 Mar 2009 02:05:47 -0000 X-SWARE-Spam-Status: No, hits=-1.9 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.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Mar 2009 02:05:39 +0000 Received: from wpaz33.hot.corp.google.com (wpaz33.hot.corp.google.com [172.24.198.97]) by smtp-out.google.com with ESMTP id n2A25au8006729 for ; Mon, 9 Mar 2009 19:05:36 -0700 Received: from rv-out-0708.google.com (rvfc5.prod.google.com [10.140.180.5]) by wpaz33.hot.corp.google.com with ESMTP id n2A25FVC015682 for ; Mon, 9 Mar 2009 19:05:34 -0700 Received: by rv-out-0708.google.com with SMTP id c5so2259492rvf.56 for ; Mon, 09 Mar 2009 19:05:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.141.19.16 with SMTP id w16mr3416096rvi.146.1236650734314; Mon, 09 Mar 2009 19:05:34 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Mar 2009 02:45:00 -0000 Message-ID: Subject: Re: [RFC] disassemble-next-line From: Doug Evans To: Eli Zaretskii Cc: Tom Tromey , teawater@gmail.com, pedro@codesourcery.com, drow@false.org, gdb-patches@sourceware.org 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-03/txt/msg00137.txt.bz2 On Mon, Mar 9, 2009 at 12:41 PM, Eli Zaretskii wrote: >> Cc: Eli Zaretskii , Doug Evans , >> Pedro Alves , >> Daniel Jacobowitz , >> "gdb-patches\@sourceware.org" >> From: Tom Tromey >> Date: Mon, 09 Mar 2009 09:26:03 -0600 >> >> teawater> +Show debugger's willingness to use disassemble-next-line."), _("\ >> teawater> +If on, gdb will output the assembly codes of next line.\n\ >> >> This also reads strangely, but I don't have a suggestion for what it >> ought to say. I think it should at least say when the assembly will >> be displayed. "assembly codes" in particular sounds odd to me. > > How about > > If ON, GDB will disassemble next source line. fwiw, I think it should also indicate _when_ it will disassemble the next line. E.g. If ON, GDB will disassemble the next source line when execution stops. If the next source line cannot be ascertained, the next instruction will be disassembled instead. or some such. [IIRC, that is the intended behaviour.] $0.02.