From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24219 invoked by alias); 17 Mar 2009 02:17:28 -0000 Received: (qmail 24209 invoked by uid 22791); 17 Mar 2009 02:17:27 -0000 X-SWARE-Spam-Status: No, hits=-1.5 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.187) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Mar 2009 02:17:19 +0000 Received: by ti-out-0910.google.com with SMTP id y8so2194141tia.12 for ; Mon, 16 Mar 2009 19:17:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.110.57.6 with SMTP id f6mr8472205tia.11.1237256236271; Mon, 16 Mar 2009 19:17:16 -0700 (PDT) In-Reply-To: References: Date: Tue, 17 Mar 2009 03:15:00 -0000 Message-ID: Subject: Re: [RFC] disassemble-next-line From: teawater To: Eli Zaretskii Cc: Doug Evans , 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/msg00292.txt.bz2 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. On Tue, Mar 17, 2009 at 03:51, Eli Zaretskii wrote: >> Date: Mon, 16 Mar 2009 12:31:44 -0700 >> From: Doug Evans >> Cc: teawater , tromey@redhat.com, pedro@codesourcery= .com, >> =A0 =A0 =A0 =A0 drow@false.org, gdb-patches@sourceware.org >> >> The issue here is that not all pc values have an associated source >> line, and therefore what does one print in this situation? > > Thanks. =A0But how can this be? =A0Are we talking about code compiled > without source line info, or about something else? >