From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4913 invoked by alias); 17 Mar 2009 05:27:02 -0000 Received: (qmail 4904 invoked by uid 22791); 17 Mar 2009 05:27:01 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from ti-out-0910.google.com (HELO ti-out-0910.google.com) (209.85.142.191) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Mar 2009 05:26:56 +0000 Received: by ti-out-0910.google.com with SMTP id y8so2240259tia.12 for ; Mon, 16 Mar 2009 22:26:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.110.109.19 with SMTP id h19mr7175129tic.45.1237267611992; Mon, 16 Mar 2009 22:26:51 -0700 (PDT) In-Reply-To: References: Date: Tue, 17 Mar 2009 05:30:00 -0000 Message-ID: Subject: Re: [RFC] disassemble-next-line From: teawater To: Eli Zaretskii Cc: dje@google.com, tromey@redhat.com, pedro@codesourcery.com, drow@false.org, gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00297.txt.bz2 Sorry Eli, I had checked-in the old patch because I understand your meaning of "Everything is OK" mistake. I will commit your words to cvs. Thanks, Hui On Tue, Mar 17, 2009 at 12:14, Eli Zaretskii wrote: >> Date: Tue, 17 Mar 2009 10:17:16 +0800 >> From: teawater >> Cc: Doug Evans , tromey@redhat.com, pedro@codesourcery.c= om, >> =A0 =A0 =A0 drow@false.org, gdb-patches@sourceware.org >> >> I think pc address doesn't have line info have 2 reasons: >> >> 1. =A0Compile without -g >> 2. =A0Some code doesn't have line info. =A0for example: plt code, lib co= de. > > OK. =A0In that case, I suggest the following rewording: > > =A0If AUTO (which is the default), or there's no line info to determine > =A0the source line of the next instruction, display disassembly of next > =A0instruction instead. >