From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11546 invoked by alias); 17 Mar 2009 04:14:23 -0000 Received: (qmail 11537 invoked by uid 22791); 17 Mar 2009 04:14:23 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_JMF_BR,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; Tue, 17 Mar 2009 04:14:17 +0000 Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KGM00L00UERS300@i-mtaout6.012.net.il> for gdb-patches@sourceware.org; Tue, 17 Mar 2009 06:14:55 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.218.225]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KGM008G8UGUEQA0@i-mtaout6.012.net.il>; Tue, 17 Mar 2009 06:14:55 +0200 (IST) Date: Tue, 17 Mar 2009 04:52:00 -0000 From: Eli Zaretskii Subject: Re: [RFC] disassemble-next-line In-reply-to: To: teawater Cc: dje@google.com, tromey@redhat.com, pedro@codesourcery.com, drow@false.org, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: References: 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/msg00294.txt.bz2 > Date: Tue, 17 Mar 2009 10:17:16 +0800 > From: teawater > Cc: Doug Evans , tromey@redhat.com, pedro@codesourcery.com, > drow@false.org, gdb-patches@sourceware.org > > I think pc address doesn't have line info have 2 reasons: > > 1. Compile without -g > 2. Some code doesn't have line info. for example: plt code, lib code. OK. In that case, I suggest the following rewording: If AUTO (which is the default), or there's no line info to determine the source line of the next instruction, display disassembly of next instruction instead.